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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b186a0a8d19d5073466c3cd27922b57364a86b7a419b8a4579a33a7ea8d085 |
|
MD5 | 4e0653b2594f33579ad8c3aa718e85dc |
|
BLAKE2b-256 | 1d9648496313789366ed15ce12ba05e165ad6846c852e80bd1a17e0c1f7aa002 |
Close
Hashes for cdk_s3_bucketreplication-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb5a01c4f4aefc557ae6dee044812a3082e2e5730d6b0269882d1f7de926036 |
|
MD5 | 0514c49222ccbeb022dcc0ed18ef6539 |
|
BLAKE2b-256 | 311ab0690be99270601bd36c5affee10a4589c75bc9d2d8fb2a3471b5495ff6a |