We recommend new projects start with resources from the AWS provider.
aws-native.memorydb.getCluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::MemoryDB::Cluster resource creates an Amazon MemoryDB Cluster.
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>def get_cluster(cluster_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput> Note: This function is named LookupCluster in the Go SDK.
public static class GetCluster 
{
    public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
public static Output<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:memorydb:getCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterName string
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- ClusterName string
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- clusterName String
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- clusterName string
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- cluster_name str
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- clusterName String
- The name of the cluster. This value must be unique as it also serves as the cluster identifier.
getCluster Result
The following output properties are available:
- AclName string
- The name of the Access Control List to associate with the cluster.
- Arn string
- The Amazon Resource Name (ARN) of the cluster.
- AutoMinor boolVersion Upgrade 
- A flag that enables automatic minor version upgrade when set to true. - You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. 
- ClusterEndpoint Pulumi.Aws Native. Memory Db. Outputs. Cluster Endpoint 
- The cluster endpoint.
- Description string
- An optional description of the cluster.
- Engine string
- The engine type used by the cluster.
- EngineVersion string
- The Redis engine version used by the cluster.
- MaintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
- NodeType string
- The compute and memory capacity of the nodes in the cluster.
- NumReplicas intPer Shard 
- The number of replicas to apply to each shard. The limit is 5.
- NumShards int
- The number of shards the cluster will contain.
- ParameterGroup stringName 
- The name of the parameter group associated with the cluster.
- ParameterGroup stringStatus 
- The status of the parameter group used by the cluster.
- SecurityGroup List<string>Ids 
- One or more Amazon VPC security groups associated with this cluster.
- SnapshotRetention intLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- SnsTopic stringArn 
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- SnsTopic stringStatus 
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
- Status string
- The status of the cluster. For example, Available, Updating, Creating.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this cluster.
- AclName string
- The name of the Access Control List to associate with the cluster.
- Arn string
- The Amazon Resource Name (ARN) of the cluster.
- AutoMinor boolVersion Upgrade 
- A flag that enables automatic minor version upgrade when set to true. - You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. 
- ClusterEndpoint ClusterEndpoint 
- The cluster endpoint.
- Description string
- An optional description of the cluster.
- Engine string
- The engine type used by the cluster.
- EngineVersion string
- The Redis engine version used by the cluster.
- MaintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
- NodeType string
- The compute and memory capacity of the nodes in the cluster.
- NumReplicas intPer Shard 
- The number of replicas to apply to each shard. The limit is 5.
- NumShards int
- The number of shards the cluster will contain.
- ParameterGroup stringName 
- The name of the parameter group associated with the cluster.
- ParameterGroup stringStatus 
- The status of the parameter group used by the cluster.
- SecurityGroup []stringIds 
- One or more Amazon VPC security groups associated with this cluster.
- SnapshotRetention intLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
- SnapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- SnsTopic stringArn 
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- SnsTopic stringStatus 
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
- Status string
- The status of the cluster. For example, Available, Updating, Creating.
- Tag
- An array of key-value pairs to apply to this cluster.
- aclName String
- The name of the Access Control List to associate with the cluster.
- arn String
- The Amazon Resource Name (ARN) of the cluster.
- autoMinor BooleanVersion Upgrade 
- A flag that enables automatic minor version upgrade when set to true. - You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. 
- clusterEndpoint ClusterEndpoint 
- The cluster endpoint.
- description String
- An optional description of the cluster.
- engine String
- The engine type used by the cluster.
- engineVersion String
- The Redis engine version used by the cluster.
- maintenanceWindow String
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
- nodeType String
- The compute and memory capacity of the nodes in the cluster.
- numReplicas IntegerPer Shard 
- The number of replicas to apply to each shard. The limit is 5.
- numShards Integer
- The number of shards the cluster will contain.
- parameterGroup StringName 
- The name of the parameter group associated with the cluster.
- parameterGroup StringStatus 
- The status of the parameter group used by the cluster.
- securityGroup List<String>Ids 
- One or more Amazon VPC security groups associated with this cluster.
- snapshotRetention IntegerLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- snsTopic StringArn 
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- snsTopic StringStatus 
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
- status String
- The status of the cluster. For example, Available, Updating, Creating.
- List<Tag>
- An array of key-value pairs to apply to this cluster.
- aclName string
- The name of the Access Control List to associate with the cluster.
- arn string
- The Amazon Resource Name (ARN) of the cluster.
- autoMinor booleanVersion Upgrade 
- A flag that enables automatic minor version upgrade when set to true. - You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. 
- clusterEndpoint ClusterEndpoint 
- The cluster endpoint.
- description string
- An optional description of the cluster.
- engine string
- The engine type used by the cluster.
- engineVersion string
- The Redis engine version used by the cluster.
- maintenanceWindow string
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
- nodeType string
- The compute and memory capacity of the nodes in the cluster.
- numReplicas numberPer Shard 
- The number of replicas to apply to each shard. The limit is 5.
- numShards number
- The number of shards the cluster will contain.
- parameterGroup stringName 
- The name of the parameter group associated with the cluster.
- parameterGroup stringStatus 
- The status of the parameter group used by the cluster.
- securityGroup string[]Ids 
- One or more Amazon VPC security groups associated with this cluster.
- snapshotRetention numberLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
- snapshotWindow string
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- snsTopic stringArn 
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- snsTopic stringStatus 
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
- status string
- The status of the cluster. For example, Available, Updating, Creating.
- Tag[]
- An array of key-value pairs to apply to this cluster.
- acl_name str
- The name of the Access Control List to associate with the cluster.
- arn str
- The Amazon Resource Name (ARN) of the cluster.
- auto_minor_ boolversion_ upgrade 
- A flag that enables automatic minor version upgrade when set to true. - You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. 
- cluster_endpoint ClusterEndpoint 
- The cluster endpoint.
- description str
- An optional description of the cluster.
- engine str
- The engine type used by the cluster.
- engine_version str
- The Redis engine version used by the cluster.
- maintenance_window str
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
- node_type str
- The compute and memory capacity of the nodes in the cluster.
- num_replicas_ intper_ shard 
- The number of replicas to apply to each shard. The limit is 5.
- num_shards int
- The number of shards the cluster will contain.
- parameter_group_ strname 
- The name of the parameter group associated with the cluster.
- parameter_group_ strstatus 
- The status of the parameter group used by the cluster.
- security_group_ Sequence[str]ids 
- One or more Amazon VPC security groups associated with this cluster.
- snapshot_retention_ intlimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
- snapshot_window str
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- sns_topic_ strarn 
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- sns_topic_ strstatus 
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
- status str
- The status of the cluster. For example, Available, Updating, Creating.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this cluster.
- aclName String
- The name of the Access Control List to associate with the cluster.
- arn String
- The Amazon Resource Name (ARN) of the cluster.
- autoMinor BooleanVersion Upgrade 
- A flag that enables automatic minor version upgrade when set to true. - You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. 
- clusterEndpoint Property Map
- The cluster endpoint.
- description String
- An optional description of the cluster.
- engine String
- The engine type used by the cluster.
- engineVersion String
- The Redis engine version used by the cluster.
- maintenanceWindow String
- Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
- nodeType String
- The compute and memory capacity of the nodes in the cluster.
- numReplicas NumberPer Shard 
- The number of replicas to apply to each shard. The limit is 5.
- numShards Number
- The number of shards the cluster will contain.
- parameterGroup StringName 
- The name of the parameter group associated with the cluster.
- parameterGroup StringStatus 
- The status of the parameter group used by the cluster.
- securityGroup List<String>Ids 
- One or more Amazon VPC security groups associated with this cluster.
- snapshotRetention NumberLimit 
- The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
- snapshotWindow String
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- snsTopic StringArn 
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- snsTopic StringStatus 
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled.
- status String
- The status of the cluster. For example, Available, Updating, Creating.
- List<Property Map>
- An array of key-value pairs to apply to this cluster.
Supporting Types
ClusterEndpoint 
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.