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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87469af269e92f33f0edaf2e5cbb4e557ae61ca366137aa28f8a383331dca919 |
|
MD5 | cf57cd818367dc73f2dfab62087fc894 |
|
BLAKE2b-256 | 26a0046011b42c7362a1bc8d4b3489e632a352e96fca551985d4e25aaab16e67 |
Close
Hashes for cdk_s3_bucketreplication-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76df1611ea12829f7fdd2a972b5b381428d2f8b98474c8cc4178ab856d6fd0cf |
|
MD5 | d7a0888efd095510f6e6416abd1e823e |
|
BLAKE2b-256 | 0c4f9fed24459b9a0d2270a5db8503f1763894509c246e669dc3d7db7c73dc47 |