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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd4ba85a9c9e8d5fac4888a18551a9e1f7a5a84f3aba90435ec5f428897a129b |
|
MD5 | c77f46d9eb18de9703b132df6d9fefdd |
|
BLAKE2b-256 | 2f974331e8d17e1f4c70e29c1bf46914062b1fe2d1bcba81a78fc08c4a58dc19 |
Close
Hashes for cdk_s3_bucketreplication-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0681301a38946ab55622278357df830756c7524f119e0a737a21254a1cba917 |
|
MD5 | a4364b41939d5c568d069b2be07b1094 |
|
BLAKE2b-256 | cd45b9ae046d5952e94401b7506e4238eee37909a3bbba501b040c5f19cd63b3 |