AWS Native is in preview. AWS Classic is fully supported.
aws-native.memorydb.getCluster
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:memorydb:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string - The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- Cluster
Name string - The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- cluster
Name String - The name of the cluster. This value must be unique as it also serves as the cluster identifier.
- cluster
Name 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.
- cluster
Name 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:
- Acl
Name string - The name of the Access Control List to associate with the cluster.
- Arn string
- 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 Pulumi.Aws Native. Memory Db. Outputs. Cluster Endpoint - The cluster endpoint.
- Description string
- An optional description of the cluster.
- Engine
Version string - The Redis engine version used by the cluster.
- Maintenance
Window 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.
- Node
Type string - 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 stringName - The name of the parameter group associated with the cluster.
- Parameter
Group stringStatus - The status of the parameter group used by the cluster.
- Security
Group List<string>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 string - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- Sns
Topic stringArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- Sns
Topic 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.
- Acl
Name string - The name of the Access Control List to associate with the cluster.
- Arn string
- 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 string
- An optional description of the cluster.
- Engine
Version string - The Redis engine version used by the cluster.
- Maintenance
Window 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.
- Node
Type string - 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 stringName - The name of the parameter group associated with the cluster.
- Parameter
Group stringStatus - The status of the parameter group used by the cluster.
- Security
Group []stringIds - 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 string - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- Sns
Topic stringArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- Sns
Topic 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 String - The name of the Access Control List to associate with the cluster.
- arn String
- The Amazon Resource Name (ARN) of the cluster.
- auto
Minor 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.
- cluster
Endpoint ClusterEndpoint - The cluster endpoint.
- description String
- An optional description of the cluster.
- engine
Version String - The Redis engine version used by the cluster.
- maintenance
Window 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.
- node
Type String - The compute and memory capacity of the nodes in the cluster.
- num
Replicas IntegerPer Shard - The number of replicas to apply to each shard. The limit is 5.
- num
Shards Integer - The number of shards the cluster will contain.
- parameter
Group StringName - The name of the parameter group associated with the cluster.
- parameter
Group StringStatus - The status of the parameter group used by the cluster.
- security
Group List<String>Ids - One or more Amazon VPC security groups associated with this cluster.
- snapshot
Retention 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.
- snapshot
Window String - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- sns
Topic StringArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- sns
Topic 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.
- acl
Name string - The name of the Access Control List to associate with the cluster.
- arn string
- The Amazon Resource Name (ARN) of the cluster.
- auto
Minor 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.
- cluster
Endpoint ClusterEndpoint - The cluster endpoint.
- description string
- An optional description of the cluster.
- engine
Version string - The Redis engine version used by the cluster.
- maintenance
Window 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.
- node
Type string - The compute and memory capacity of the nodes in the cluster.
- num
Replicas numberPer Shard - The number of replicas to apply to each shard. The limit is 5.
- num
Shards number - The number of shards the cluster will contain.
- parameter
Group stringName - The name of the parameter group associated with the cluster.
- parameter
Group stringStatus - The status of the parameter group used by the cluster.
- security
Group string[]Ids - One or more Amazon VPC security groups associated with this cluster.
- snapshot
Retention 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.
- snapshot
Window string - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- sns
Topic stringArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- sns
Topic 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_
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.
- acl
Name String - The name of the Access Control List to associate with the cluster.
- arn String
- The Amazon Resource Name (ARN) of the cluster.
- auto
Minor 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.
- cluster
Endpoint Property Map - The cluster endpoint.
- description String
- An optional description of the cluster.
- engine
Version String - The Redis engine version used by the cluster.
- maintenance
Window 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.
- node
Type String - The compute and memory capacity of the nodes in the cluster.
- num
Replicas NumberPer Shard - The number of replicas to apply to each shard. The limit is 5.
- num
Shards Number - The number of shards the cluster will contain.
- parameter
Group StringName - The name of the parameter group associated with the cluster.
- parameter
Group StringStatus - The status of the parameter group used by the cluster.
- security
Group List<String>Ids - One or more Amazon VPC security groups associated with this cluster.
- snapshot
Retention 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.
- snapshot
Window String - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- sns
Topic StringArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
- sns
Topic 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
AWS Native is in preview. AWS Classic is fully supported.