aws::docdb-instance

Creates an Document db instance.

Example

aws::docdb-instance db-instance-example
    availability-zone: "us-east-2a"
    db-instance-class: "db.r4.large"
    identifier: "db-instance-example"
    engine: "docdb"
    preferred-maintenance-window: "wed:03:28-wed:04:58"
    promotion-tier: 1
    db-cluster: $(aws::db-cluster db-cluster-db-instance-example)

    tags: {
        Name: "db-instance-example"
    }
end

Attributes

Attribute Description
auto-minor-version-upgrade Enable auto minor version upgrade.
availability-zone Set availability zone for the instance. Must belong to one of the ones specified by the associated db cluster. (Required)
db-instance-class Set the size of the data base instance. (Required)
identifier Name of the database instance. (Required)
engine Engine used by the instance. (Required)
preferred-maintenance-window Set the preferred maintenance window. Valid format ddd:hh24:mi-ddd:hh24:mi. (Required)
promotion-tier Set the promotion tier. Valid values are between 0 to 15. (Required)
db-cluster The parent db cluster. (Required)

Outputs

Attribute Description
status The status of the db instance.
arn The arn of the db instance.