class Aws::DocDB::Types::CreateDBInstanceMessage
Represents the input to CreateDBInstance.
@note When making an API call, you may pass CreateDBInstanceMessage
data as a hash: { db_instance_identifier: "String", # required db_instance_class: "String", # required engine: "String", # required availability_zone: "String", preferred_maintenance_window: "String", auto_minor_version_upgrade: false, tags: [ { key: "String", value: "String", }, ], db_cluster_identifier: "String", # required promotion_tier: 1, }
@!attribute [rw] db_instance_identifier
The instance identifier. This parameter is stored as a lowercase string. Constraints: * Must contain from 1 to 63 letters, numbers, or hyphens. * The first character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens. Example: `mydbinstance` @return [String]
@!attribute [rw] db_instance_class
The compute and memory capacity of the instance; for example, `db.r5.large`. @return [String]
@!attribute [rw] engine
The name of the database engine to be used for this instance. Valid value: `docdb` @return [String]
@!attribute [rw] availability_zone
The Amazon EC2 Availability Zone that the instance is created in. Default: A random, system-chosen Availability Zone in the endpoint's Region. Example: `us-east-1d` @return [String]
@!attribute [rw] preferred_maintenance_window
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: `ddd:hh24:mi-ddd:hh24:mi` The default is a 30-minute window selected at random from an 8-hour block of time for each Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window. @return [String]
@!attribute [rw] auto_minor_version_upgrade
This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set. Default: `false` @return [Boolean]
@!attribute [rw] tags
The tags to be assigned to the instance. You can assign up to 10 tags to an instance. @return [Array<Types::Tag>]
@!attribute [rw] db_cluster_identifier
The identifier of the cluster that the instance will belong to. @return [String]
@!attribute [rw] promotion_tier
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance. Default: 1 Valid values: 0-15 @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBInstanceMessage AWS API Documentation
Constants
- SENSITIVE