Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-s3-bucketreplication-0.0.20.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

cdk_s3_bucketreplication-0.0.20-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file cdk-s3-bucketreplication-0.0.20.tar.gz.

File metadata

File hashes

Hashes for cdk-s3-bucketreplication-0.0.20.tar.gz
Algorithm Hash digest
SHA256 cb954d83dd89cb9f10e26ec89746c72b65d7dfb93fd59fdd6557be11aa154069
MD5 60857a2e873b7496492200d97e5915c3
BLAKE2b-256 9cc6309934879a4304188e969053045c85779ff749ff1584e9138167635206a1

See more details on using hashes here.

File details

Details for the file cdk_s3_bucketreplication-0.0.20-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_s3_bucketreplication-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d2cd0d12ae8a72650a5ccd3e0b73d82595eeeafe8b937945f789a760f559bdb7
MD5 bb08e483e5c9067cda4ca9585ba3de6d
BLAKE2b-256 dc37a4eba5ccf44913a7f96c36ce333669e10d2accc443facd8e9c6028ba85f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page