ReplicationConfigurationProps
- class aws_cdk.aws_efs.ReplicationConfigurationProps(*, availability_zone=None, destination_file_system=None, kms_key=None, region=None)
Bases:
object
Properties for the ReplicationConfiguration.
- Parameters:
availability_zone (
Optional
[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. Default: - no availability zone is setdestination_file_system (
Optional
[IFileSystem
]) – The existing destination file system for the replication. Default: - Nonekms_key (
Optional
[IKey
]) – AWS KMS key used to protect the encrypted file system. Default: - use service-managed KMS key for Amazon EFSregion (
Optional
[str
]) – The AWS Region in which the destination file system is located. Default: - the region of the stack
- 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 # file_system: efs.FileSystem # key: kms.Key replication_configuration_props = efs.ReplicationConfigurationProps( availability_zone="availabilityZone", destination_file_system=file_system, kms_key=key, region="region" )
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.
- Default:
no availability zone is set
- destination_file_system
The existing destination file system for the replication.
- Default:
None
- 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.
- Default:
the region of the stack