MongoDbInstanceNewVolumeProps

class aws_rfdk.MongoDbInstanceNewVolumeProps(*, encryption_key=None, size=None)

Bases: object

Specification for a when a new volume is being created by a MongoDbInstance.

Parameters:
  • encryption_key (Optional[IKey]) – If creating a new EBS Volume, then this property provides a KMS key to use to encrypt the Volume’s data. If you do not provide a value for this property, then your default service-owned KMS key will be used to encrypt the new Volume. Default: Your service-owned KMS key is used to encrypt a new volume.

  • size (Optional[Size]) – The size, in Gigabytes, of a new encrypted volume to be created to hold the MongoDB database data for this instance. A new volume is created only if a value for the volume property is not provided. Default: 20 GiB

Attributes

encryption_key

If creating a new EBS Volume, then this property provides a KMS key to use to encrypt the Volume’s data.

If you do not provide a value for this property, then your default service-owned KMS key will be used to encrypt the new Volume.

Default:

Your service-owned KMS key is used to encrypt a new volume.

size

The size, in Gigabytes, of a new encrypted volume to be created to hold the MongoDB database data for this instance.

A new volume is created only if a value for the volume property is not provided.

Default:

20 GiB