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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458f83918929b25177477f2ed742ce1f43b7634d3d3f071f47c60b8534b15dd6 |
|
MD5 | e2bab6432bb9a178a39e7d460580871e |
|
BLAKE2b-256 | df9fa168dc4adeee4d2de97d335ca26f446cabaf0efefc5d9d2fa6487b660099 |
Close
Hashes for cdk_s3_bucketreplication-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f27bf0613539057b7f3b4c33f666fe2e5288f4e85931631d3ba3d11ac8f9fe4a |
|
MD5 | 44095013deff306600e630b2fcf6a0f7 |
|
BLAKE2b-256 | ba63da74d2e0575c89a3ae98284f7abe8a0540161de9e4b97284a15573bfccc7 |