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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65cf914a0b4e703779ac23ebb23b36c89737753e6f55c784b409fcdfceb60916 |
|
MD5 | e65ee0f08e358b91828992175961b585 |
|
BLAKE2b-256 | 8b056f0ff3ed9c897b04b6a14759efc481fda36229052bc99fdd9ac17db9f83f |
Close
Hashes for cdk_s3_bucketreplication-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3ab5efc166807c57129d4646a2a392af0e84ad9fac53f249bd4be9ebbdd12a |
|
MD5 | 8533f582c39a85e80841ada4ffddc8e6 |
|
BLAKE2b-256 | b855ef45515d4ca194286d29e89b58f5541d1907f0cfce302c21ba9f05ed9247 |