class Aws::DocDB::Types::CreateDBInstanceMessage


@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBInstanceMessage AWS API Documentation
@return [Integer]
Valid values: 0-15
Default: 1
existing primary instance.
replica is promoted to the primary instance after a failure of the
A value that specifies the order in which an Amazon DocumentDB
@!attribute [rw] promotion_tier
@return [String]
The identifier of the cluster that the instance will belong to.
@!attribute [rw] db_cluster_identifier
@return [Array<Types::Tag>]
tags to an instance.
The tags to be assigned to the instance. You can assign up to 10
@!attribute [rw] tags
@return [Boolean]
Default: ‘true`
the instance during the maintenance window.
Indicates that minor engine upgrades are applied automatically to
@!attribute [rw] auto_minor_version_upgrade
@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`
in Universal Coordinated Time (UTC).
The time range each week during which system maintenance can occur,
@!attribute [rw] preferred_maintenance_window
@return [String]
Zone must be in the same AWS Region as the current endpoint.
the `MultiAZ` parameter is set to `true`. The specified Availability
Constraint: The `AvailabilityZone` parameter can’t be specified if
Example: ‘us-east-1d`
endpoint’s AWS Region.
Default: A random, system-chosen Availability Zone in the
The Amazon EC2 Availability Zone that the instance is created in.
@!attribute [rw] availability_zone
@return [String]
Valid value: ‘docdb`
The name of the database engine to be used for this instance.
@!attribute [rw] engine
@return [String]
`db.r5.large`.
The compute and memory capacity of the instance; for example,
@!attribute [rw] db_instance_class
@return [String]
Example: `mydbinstance`
* 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 instance identifier. This parameter is stored as a lowercase
@!attribute [rw] db_instance_identifier
}
promotion_tier: 1,
db_cluster_identifier: “String”, # required
],
},
value: “String”,
key: “String”,
{
tags: [
auto_minor_version_upgrade: false,
preferred_maintenance_window: “String”,
availability_zone: “String”,
engine: “String”, # required
db_instance_class: “String”, # required
db_instance_identifier: “String”, # required
{
data as a hash:
@note When making an API call, you may pass CreateDBInstanceMessage
Represents the input to CreateDBInstance.