cdk-s3-bucketreplication
Project description
CDK Construct for S3 Bucket Replication
A CDK Construct for S3 Bucket Replication. Can handle cross-account replication. Make sure the source and destination buckets have versioning enabled.
const sourceBucket = new Bucket(this, 'SourceBucket', {
versioned: true,
});
const destinationBucket = new Bucket(this, 'DestinationBucket', {
versioned: true,
});
new BucketReplication(this, 'BucketReplication', {
sourceBucket,
destinationBucket,
replicationDestinationProperties: {
storageClass: ReplicationDestinationStorageClass.STANDARD_IA,
},
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-s3-bucketreplication-0.0.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb954d83dd89cb9f10e26ec89746c72b65d7dfb93fd59fdd6557be11aa154069 |
|
MD5 | 60857a2e873b7496492200d97e5915c3 |
|
BLAKE2b-256 | 9cc6309934879a4304188e969053045c85779ff749ff1584e9138167635206a1 |
Close
Hashes for cdk_s3_bucketreplication-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cd0d12ae8a72650a5ccd3e0b73d82595eeeafe8b937945f789a760f559bdb7 |
|
MD5 | bb08e483e5c9067cda4ca9585ba3de6d |
|
BLAKE2b-256 | dc37a4eba5ccf44913a7f96c36ce333669e10d2accc443facd8e9c6028ba85f2 |