class Aws::DocDB::Types::CreateDBClusterMessage


@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBClusterMessage AWS API Documentation
@return [Array<String>]
CloudWatch Logs.
A list of log types that need to be enabled for exporting to Amazon
@!attribute [rw] enable_cloudwatch_logs_exports
@return [String]
that AWS Region.
destination AWS Region. This key is used to encrypt the replica in
Region, you must set ‘KmsKeyId` to a KMS key ID that is valid in the
If you create a replica of an encrypted DB cluster in another AWS
Region.
Your AWS account has a different default encryption key for each AWS
AWS KMS creates the default encryption key for your AWS account.
uses your default encryption key.
`ReplicationSourceIdentifier` is not specified, Amazon DocumentDB
* If the `StorageEncrypted` parameter is `true` and
encryption key.
encrypt the source. Otherwise, Amazon DocumentDB uses your default
then Amazon DocumentDB uses the encryption key that is used to
* If `ReplicationSourceIdentifier` identifies an encrypted source,
If an encryption key is not specified in `KmsKeyId`:
instead of the ARN for the AWS KMS encryption key.
to encrypt the new DB cluster, you can use the AWS KMS key alias
same AWS account that owns the AWS KMS encryption key that is used
AWS KMS encryption key. If you are creating a DB cluster using the
The AWS KMS key identifier is the Amazon Resource Name (ARN) for the
The AWS KMS key identifier for an encrypted DB cluster.
@!attribute [rw] kms_key_id
@return [Boolean]
Specifies whether the DB cluster is encrypted.
@!attribute [rw] storage_encrypted
@return [Array<Types::Tag>]
The tags to be assigned to the DB cluster.
@!attribute [rw] tags
@return [String]
Constraints: Minimum 30-minute window.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
week.
block of time for each AWS Region, occurring on a random day of the
The default is a 30-minute window selected at random from an 8-hour
Format: `ddd:hh24:mi-ddd:hh24:mi`
Universal Coordinated Time (UTC).
The weekly time range during which system maintenance can occur, in
@!attribute [rw] preferred_maintenance_window
@return [String]
* Must be at least 30 minutes.
* Must not conflict with the preferred maintenance window.
* Must be in Universal Coordinated Time (UTC).
* Must be in the format `hh24:mi-hh24:mi`.
Constraints:
block of time for each AWS Region.
The default is a 30-minute window selected at random from an 8-hour
parameter.
automated backups are enabled using the `BackupRetentionPeriod`
The daily time range during which automated backups are created if
@!attribute [rw] preferred_backup_window
@return [String]
Constraints: Must contain from 8 to 41 characters.
any printable ASCII character except “/”, “”“, or ”@“.
The password for the master database user. This password can contain
@!attribute [rw] master_user_password
@return [String]
* Cannot be a reserved word for the chosen database engine.
* The first character must be a letter.
* Must be from 1 to 16 letters or numbers.
Constraints:
The name of the master user for the DB cluster.
@!attribute [rw] master_username
@return [Integer]
connections.
The port number on which the instances in the DB cluster accept
@!attribute [rw] port
@return [String]
The version number of the database engine to use.
@!attribute [rw] engine_version
@return [String]
Valid values: `docdb`
The name of the database engine to be used for this DB cluster.
@!attribute [rw] engine
@return [String]
Example: `mySubnetgroup`
Must not be default.
Constraints: Must match the name of an existing `DBSubnetGroup`.
A DB subnet group to associate with this DB cluster.
@!attribute [rw] db_subnet_group_name
@return [Array<String>]
A list of EC2 VPC security groups to associate with this DB cluster.
@!attribute [rw] vpc_security_group_ids
@return [String]
cluster.
The name of the DB cluster parameter group to associate with this DB
@!attribute [rw] db_cluster_parameter_group_name
@return [String]
Example: `my-cluster`
* Cannot end with a hyphen or contain two consecutive hyphens.
* The first character must be a letter.
* Must contain from 1 to 63 letters, numbers, or hyphens.
Constraints:
string.
The DB cluster identifier. This parameter is stored as a lowercase
@!attribute [rw] db_cluster_identifier
@return [Integer]
^
* Must be a value from 1 to 35.
Constraints:
Default: 1
must specify a minimum value of 1.
The number of days for which automated backups are retained. You
@!attribute [rw] backup_retention_period
@return [Array<String>]
cluster can be created in.
A list of Amazon EC2 Availability Zones that instances in the DB
@!attribute [rw] availability_zones
}
enable_cloudwatch_logs_exports: [”String“],
kms_key_id: ”String“,
storage_encrypted: false,
],
},
value: ”String“,
key: ”String“,
{
tags: [
preferred_maintenance_window: ”String“,
preferred_backup_window: ”String“,
master_user_password: ”String“,
master_username: ”String“,
port: 1,
engine_version: ”String“,
engine: ”String“, # required
db_subnet_group_name: ”String“,
vpc_security_group_ids: [”String“],
db_cluster_parameter_group_name: ”String“,
db_cluster_identifier: ”String“, # required
backup_retention_period: 1,
availability_zones: [”String“],
{
data as a hash:
@note When making an API call, you may pass CreateDBClusterMessage
Represents the input to CreateDBCluster.