cluster
Gets an individual cluster
resource
Overview
Name | cluster |
Type | Resource |
Description | cluster |
Id | awscc.memorydb.cluster |
Fields
Name | Datatype | Description |
---|---|---|
cluster_name | string | The name of the cluster. This value must be unique as it also serves as the cluster identifier. |
description | string | An optional description of the cluster. |
status | string | The status of the cluster. For example, Available, Updating, Creating. |
node_type | string | The compute and memory capacity of the nodes in the cluster. |
num_shards | integer | The number of shards the cluster will contain. |
num_replicas_per_shard | integer | The number of replicas to apply to each shard. The limit is 5. |
subnet_group_name | string | The name of the subnet group to be used for the cluster. |
security_group_ids | array | One or more Amazon VPC security groups associated with this 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. |
parameter_group_name | string | The name of the parameter group associated with the cluster. |
parameter_group_status | string | The status of the parameter group used by the cluster. |
port | integer | The port number on which each member of the cluster accepts connections. |
snapshot_retention_limit | integer | 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. |
acl_name | string | The name of the Access Control List to associate with the cluster. |
sns_topic_arn | string | The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. |
sns_topic_status | string | The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled. |
tls_enabled | boolean | A flag that enables in-transit encryption when set to true.<br/><br/>You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to true when you create a cluster. |
data_tiering | string | Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. |
kms_key_id | string | The ID of the KMS key used to encrypt the cluster. |
snapshot_arns | array | A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas. |
snapshot_name | string | The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created. |
final_snapshot_name | string | The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward. |
arn | string | The Amazon Resource Name (ARN) of the cluster. |
engine_version | string | The Redis engine version used by the cluster. |
cluster_endpoint | object | The cluster endpoint. |
auto_minor_version_upgrade | boolean | A flag that enables automatic minor version upgrade when set to true.<br/><br/>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. |
tags | array | An array of key-value pairs to apply to this cluster. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
cluster_name,
description,
status,
node_type,
num_shards,
num_replicas_per_shard,
subnet_group_name,
security_group_ids,
maintenance_window,
parameter_group_name,
parameter_group_status,
port,
snapshot_retention_limit,
snapshot_window,
acl_name,
sns_topic_arn,
sns_topic_status,
tls_enabled,
data_tiering,
kms_key_id,
snapshot_arns,
snapshot_name,
final_snapshot_name,
arn,
engine_version,
cluster_endpoint,
auto_minor_version_upgrade,
tags
FROM awscc.memorydb.cluster
WHERE data__Identifier = '<ClusterName>';
Permissions
To operate on the cluster
resource, the following permissions are required:
Read
memorydb:DescribeClusters,
memorydb:ListTags
Update
memorydb:UpdateCluster,
memorydb:DescribeClusters,
memorydb:ListTags,
memorydb:TagResource,
memorydb:UntagResource
Delete
memorydb:DeleteCluster,
memorydb:DescribeClusters