Interface CfnBucket.ReplicationDestinationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBucket.ReplicationDestinationProperty.Jsii$Proxy
Enclosing class:
CfnBucket

@Stability(Stable) public static interface CfnBucket.ReplicationDestinationProperty extends software.amazon.jsii.JsiiSerializable
A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC).

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 ReplicationDestinationProperty replicationDestinationProperty = ReplicationDestinationProperty.builder()
         .bucket("bucket")
         // the properties below are optional
         .accessControlTranslation(AccessControlTranslationProperty.builder()
                 .owner("owner")
                 .build())
         .account("account")
         .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                 .replicaKmsKeyId("replicaKmsKeyId")
                 .build())
         .metrics(MetricsProperty.builder()
                 .status("status")
                 // the properties below are optional
                 .eventThreshold(ReplicationTimeValueProperty.builder()
                         .minutes(123)
                         .build())
                 .build())
         .replicationTime(ReplicationTimeProperty.builder()
                 .status("status")
                 .time(ReplicationTimeValueProperty.builder()
                         .minutes(123)
                         .build())
                 .build())
         .storageClass("storageClass")
         .build();
 

See Also: