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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 358a28343eb2850ea39bc19665cfa064de26f69d4ceec65f212f08bcd4019ba7 |
|
MD5 | 42a5c794227515f46517e1b478253a3c |
|
BLAKE2b-256 | fb3e694d8301b463f738b6c7a6100c9a4112db3b3ff960dd5f2715d0c5e66bc9 |
Close
Hashes for cdk_s3_bucketreplication-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7095f36cf10941d03042fcf7aa278186b19ff6d78462785019e7f9056a9b6c59 |
|
MD5 | 00e77142144a5ba58bfff464923e0a3e |
|
BLAKE2b-256 | e624ff3476b5c2570b6dcedf113f6b938b44c5d0a5ebcb3ffe059c09d541f362 |