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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb7660b8942a2f4e0dfd86d509b71e93cdd0cd9d41e9d5a710272dfaf14b377b |
|
MD5 | 27a98973c1201033f09387c5accf1278 |
|
BLAKE2b-256 | 17493aa70f476110bb5c35212be162003cd25e717a969e3821c21e1e30c4af7e |
Close
Hashes for cdk_s3_bucketreplication-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49dfb21a390b5f4aff60e11431bdefab2a09236bf74bb2d5bfeb708dd7464475 |
|
MD5 | d48846db69e309bbe3348db13a34de7f |
|
BLAKE2b-256 | 3eaf787dcda6756c0cab2d208d945da1269df6f00f385f7670172d8b1e21fca2 |