OneZoneFileSystemProps

class aws_cdk.aws_efs.OneZoneFileSystemProps(*, availability_zone, region, kms_key=None)

Bases: object

Properties for configuring ReplicationConfiguration to replicate to a new One Zone file system.

Parameters:
  • availability_zone (str) – The availability zone name of the destination file system. One zone file system is used as the destination file system when this property is set.

  • region (str) – The AWS Region in which the destination file system is located.

  • kms_key (Optional[IKey]) – AWS KMS key used to protect the encrypted file system. Default: - use service-managed KMS key for Amazon EFS

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_efs as efs
from aws_cdk import aws_kms as kms

# key: kms.Key

one_zone_file_system_props = efs.OneZoneFileSystemProps(
    availability_zone="availabilityZone",
    region="region",

    # the properties below are optional
    kms_key=key
)

Attributes

availability_zone

The availability zone name of the destination file system.

One zone file system is used as the destination file system when this property is set.

kms_key

AWS KMS key used to protect the encrypted file system.

Default:
  • use service-managed KMS key for Amazon EFS

region

The AWS Region in which the destination file system is located.