class Aws::MemoryDB::Types::CreateClusterRequest

@note When making an API call, you may pass CreateClusterRequest

data as a hash:

    {
      cluster_name: "String", # required
      node_type: "String", # required
      parameter_group_name: "String",
      description: "String",
      num_shards: 1,
      num_replicas_per_shard: 1,
      subnet_group_name: "String",
      security_group_ids: ["String"],
      maintenance_window: "String",
      port: 1,
      sns_topic_arn: "String",
      tls_enabled: false,
      kms_key_id: "String",
      snapshot_arns: ["String"],
      snapshot_name: "String",
      snapshot_retention_limit: 1,
      tags: [
        {
          key: "String",
          value: "String",
        },
      ],
      snapshot_window: "String",
      acl_name: "ACLName", # required
      engine_version: "String",
      auto_minor_version_upgrade: false,
    }

@!attribute [rw] cluster_name

The name of the cluster. This value must be unique as it also serves
as the cluster identifier.
@return [String]

@!attribute [rw] node_type

The compute and memory capacity of the nodes in the cluster.
@return [String]

@!attribute [rw] parameter_group_name

The name of the parameter group associated with the cluster.
@return [String]

@!attribute [rw] description

An optional description of the cluster.
@return [String]

@!attribute [rw] num_shards

The number of shards the cluster will contain. The default value is
1.
@return [Integer]

@!attribute [rw] num_replicas_per_shard

The number of replicas to apply to each shard. The default value is
1. The maximum is 5.
@return [Integer]

@!attribute [rw] subnet_group_name

The name of the subnet group to be used for the cluster.
@return [String]

@!attribute [rw] security_group_ids

A list of security group names to associate with this cluster.
@return [Array<String>]

@!attribute [rw] maintenance_window

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.
@return [String]

@!attribute [rw] port

The port number on which each of the nodes accepts connections.
@return [Integer]

@!attribute [rw] sns_topic_arn

The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (SNS) topic to which notifications are sent.
@return [String]

@!attribute [rw] tls_enabled

A flag to enable in-transit encryption on the cluster.
@return [Boolean]

@!attribute [rw] kms_key_id

The ID of the KMS key used to encrypt the cluster.
@return [String]

@!attribute [rw] snapshot_arns

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.
@return [Array<String>]

@!attribute [rw] snapshot_name

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.
@return [String]

@!attribute [rw] snapshot_retention_limit

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.
@return [Integer]

@!attribute [rw] tags

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.
@return [Array<Types::Tag>]

@!attribute [rw] snapshot_window

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.
@return [String]

@!attribute [rw] acl_name

The name of the Access Control List to associate with the cluster.
@return [String]

@!attribute [rw] engine_version

The version number of the Redis engine to be used for the cluster.
@return [String]

@!attribute [rw] auto_minor_version_upgrade

When set to true, the cluster will automatically receive minor
engine version upgrades after launch.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateClusterRequest AWS API Documentation

Constants

SENSITIVE