cdk-s3-bucketreplication-0.0.8
توضیحات
cdk-s3-bucketreplication
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cdk-s3-bucketreplication-0.0.8 |
| نام | cdk-s3-bucketreplication |
| نسخه کتابخانه | 0.0.8 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Roger Chi<roger@rogerchi.com> |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/rogerchi/cdk-s3-bucketreplication.git |
| آدرس اینترنتی | https://pypi.org/project/cdk-s3-bucketreplication/ |
| مجوز | Apache-2.0 |
# 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,
},
});
```
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.147.0 | aws-cdk.aws-iam |
| <2.0.0,>=1.147.0 | aws-cdk.aws-s3 |
| <2.0.0,>=1.147.0 | aws-cdk.core |
| <4.0.0,>=3.2.27 | constructs |
| <2.0.0,>=1.70.0 | jsii |
| >=0.0.3 | publication |
| ~=2.13.3 | typeguard |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| ~=3.7 | Python |
نحوه نصب
نصب پکیج whl cdk-s3-bucketreplication-0.0.8:
pip install cdk-s3-bucketreplication-0.0.8.whl
نصب پکیج tar.gz cdk-s3-bucketreplication-0.0.8:
pip install cdk-s3-bucketreplication-0.0.8.tar.gz