CreateClusterRequest
¶
Source code in docs_src/capo_memorydb/types/create_cluster_request.py
acl_name
instance-attribute
¶
acl_name: ACLName
The name of the Access Control List to associate with the cluster.
auto_minor_version_upgrade
instance-attribute
¶
auto_minor_version_upgrade: NotRequired[BooleanOptional]
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
cluster_name
instance-attribute
¶
cluster_name: String
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
data_tiering
instance-attribute
¶
data_tiering: NotRequired[BooleanOptional]
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
description
instance-attribute
¶
description: NotRequired[String]
An optional description of the cluster.
engine
instance-attribute
¶
engine: NotRequired[String]
The name of the engine to be used for the cluster.
engine_version
instance-attribute
¶
engine_version: NotRequired[String]
The version number of the Redis OSS engine to be used for the cluster.
ip_discovery
instance-attribute
¶
ip_discovery: NotRequired[IpDiscovery]
The mechanism for discovering IP addresses for the cluster discovery protocol. Valid values are 'ipv4' or 'ipv6'. When set to 'ipv4', cluster discovery functions such as cluster slots, cluster shards, and cluster nodes return IPv4 addresses for cluster nodes. When set to 'ipv6', the cluster discovery functions return IPv6 addresses for cluster nodes. The value must be compatible with the NetworkType parameter. If not specified, the default is 'ipv4'.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[String]
The ID of the KMS key used to encrypt the cluster.
maintenance_window
instance-attribute
¶
maintenance_window: NotRequired[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.
Valid values for ddd are:
-
sun -
mon -
tue -
wed -
thu -
fri -
sat
Example: sun:23:00-mon:01:30
multi_region_cluster_name
instance-attribute
¶
multi_region_cluster_name: NotRequired[String]
The name of the multi-Region cluster to be created.
network_type
instance-attribute
¶
network_type: NotRequired[NetworkType]
Specifies the IP address type for the cluster. Valid values are 'ipv4', 'ipv6', or 'dual_stack'. When set to 'ipv4', the cluster will only be accessible via IPv4 addresses. When set to 'ipv6', the cluster will only be accessible via IPv6 addresses. When set to 'dual_stack', the cluster will be accessible via both IPv4 and IPv6 addresses. If not specified, the default is 'ipv4'.
node_type
instance-attribute
¶
node_type: String
The compute and memory capacity of the nodes in the cluster.
num_replicas_per_shard
instance-attribute
¶
num_replicas_per_shard: NotRequired[IntegerOptional]
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
num_shards
instance-attribute
¶
num_shards: NotRequired[IntegerOptional]
The number of shards the cluster will contain. The default value is 1.
parameter_group_name
instance-attribute
¶
parameter_group_name: NotRequired[String]
The name of the parameter group associated with the cluster.
port
instance-attribute
¶
port: NotRequired[IntegerOptional]
The port number on which each of the nodes accepts connections.
security_group_ids
instance-attribute
¶
security_group_ids: NotRequired[SecurityGroupIdsList]
A list of security group names to associate with this cluster.
snapshot_arns
instance-attribute
¶
snapshot_arns: NotRequired[SnapshotArnsList]
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
instance-attribute
¶
snapshot_name: NotRequired[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.
snapshot_retention_limit
instance-attribute
¶
snapshot_retention_limit: NotRequired[IntegerOptional]
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
instance-attribute
¶
snapshot_window: NotRequired[String]
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00
If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
sns_topic_arn
instance-attribute
¶
sns_topic_arn: NotRequired[String]
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
subnet_group_name
instance-attribute
¶
subnet_group_name: NotRequired[String]
The name of the subnet group to be used for the cluster.
tags
instance-attribute
¶
tags: NotRequired[TagList]
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
tls_enabled
instance-attribute
¶
tls_enabled: NotRequired[BooleanOptional]
A flag to enable in-transit encryption on the cluster.