ReplicationConfigurationProperty Struct
Describes the replication configuration for a specific file system.
| 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 replicationConfigurationProperty: efs.CfnFileSystem.ReplicationConfigurationProperty = {
destinations: [{
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_configuration_property = efs.CfnFileSystem.ReplicationConfigurationProperty(
destinations=[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.*;
ReplicationConfigurationProperty replicationConfigurationProperty = ReplicationConfigurationProperty.builder()
.destinations(List.of(ReplicationDestinationProperty.builder()
.availabilityZoneName("availabilityZoneName")
.fileSystemId("fileSystemId")
.kmsKeyId("kmsKeyId")
.region("region")
.roleArn("roleArn")
.status("status")
.statusMessage("statusMessage")
.build()))
.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 replicationConfigurationProperty = new ReplicationConfigurationProperty {
Destinations = new [] { 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"
replicationConfigurationProperty := &ReplicationConfigurationProperty{
Destinations: []interface{}{
&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
destinationsoptionalIResolvable | IResolvable | CfnFileSystem.destinationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ReplicationDestinationProperty]]]destinationsoptionalIResolvableDestinationsoptionalIResolvableDestinationsoptionalinterface{} #An array of destination objects.
Only one destination object is supported.