StorageType

class aws_cdk.aws_docdb.StorageType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The storage type of the DocDB cluster.

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc


cluster = docdb.DatabaseCluster(self, "Database",
    master_user=docdb.Login(
        username="myuser"
    ),
    instance_type=ec2.InstanceType.of(ec2.InstanceClass.MEMORY5, ec2.InstanceSize.LARGE),
    vpc=vpc,
    storage_type=docdb.StorageType.IOPT1
)

Attributes

IOPT1

I/O-optimized storage.

STANDARD

Standard storage.