ReplicationDestinationProperty Struct
Describes the destination file system in the replication configuration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_efs as efs } from 'aws-cdk-lib';
const replicationDestinationProperty: efs.CfnFileSystem.ReplicationDestinationProperty = {
availabilityZoneName: 'availabilityZoneName',
fileSystemId: 'fileSystemId',
kmsKeyId: 'kmsKeyId',
region: 'region',
roleArn: 'roleArn',
status: 'status',
statusMessage: 'statusMessage',
};
python
# 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
replication_destination_property = efs.CfnFileSystem.ReplicationDestinationProperty(
availability_zone_name="availabilityZoneName",
file_system_id="fileSystemId",
kms_key_id="kmsKeyId",
region="region",
role_arn="roleArn",
status="status",
status_message="statusMessage"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.efs.*;
ReplicationDestinationProperty replicationDestinationProperty = ReplicationDestinationProperty.builder()
.availabilityZoneName("availabilityZoneName")
.fileSystemId("fileSystemId")
.kmsKeyId("kmsKeyId")
.region("region")
.roleArn("roleArn")
.status("status")
.statusMessage("statusMessage")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EFS;
var replicationDestinationProperty = new ReplicationDestinationProperty {
AvailabilityZoneName = "availabilityZoneName",
FileSystemId = "fileSystemId",
KmsKeyId = "kmsKeyId",
Region = "region",
RoleArn = "roleArn",
Status = "status",
StatusMessage = "statusMessage"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
replicationDestinationProperty := &ReplicationDestinationProperty{
AvailabilityZoneName: jsii.String("availabilityZoneName"),
FileSystemId: jsii.String("fileSystemId"),
KmsKeyId: jsii.String("kmsKeyId"),
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Status: jsii.String("status"),
StatusMessage: jsii.String("statusMessage"),
}
Properties
availabilityZoneNameoptionalstringavailability_zone_nameoptionalstravailabilityZoneNameoptionalStringAvailabilityZoneNameoptionalstringAvailabilityZoneNameoptional*string #For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located.
notes
Use the format us-east-1a to specify the Availability Zone. For more information about One Zone file systems, see EFS file system types in the Amazon EFS User Guide .
One Zone file system type is not available in all Availability Zones in AWS Regions where Amazon EFS is available.
fileSystemIdoptionalstringfile_system_idoptionalstrfileSystemIdoptionalStringFileSystemIdoptionalstringFileSystemIdoptional*string #The ID of the destination Amazon EFS file system.
kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #The ID of an AWS KMS key used to protect the encrypted file system.
regionoptionalstringregionoptionalstrregionoptionalStringRegionoptionalstringRegionoptional*string #The AWS Region in which the destination file system is located.
For One Zone file systems, the replication configuration must specify the AWS Region in which the destination file system is located.
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #Describes the status of the replication configuration.
For more information about replication status, see Viewing replication details in the Amazon EFS User Guide .
statusMessageoptionalstringstatus_messageoptionalstrstatusMessageoptionalStringStatusMessageoptionalstringStatusMessageoptional*string #Message that provides details about the `PAUSED` or `ERRROR` state of the replication destination configuration.
For more information about replication status messages, see Viewing replication details in the Amazon EFS User Guide .