awslabs / amazon-s3-data-replication-hub-plugin

The Amazon S3 Transfer Plugin for Data Transfer Hub(https://github.com/awslabs/data-transfer-hub). Transfer objects from S3(in other partition), Alibaba Cloud OSS, Tencent COS, Qiniu Kodo into Amazon S3.
Apache License 2.0
47 stars 16 forks source link

<feature> Add support of choosing storage class #6

Closed daixba closed 3 years ago

daixba commented 3 years ago

Issue #, if available: Issue #4

Description of changes: Add an extra parameter destStorageClass and use that while uploading to destination S3.

allowedValues: ['STANDARD', 'STANDARD_IA', 'ONEZONE_IA', 'INTELLIGENT_TIERING']

'GLACIER' and 'DEEP_ARCHIVE' are currently not included. Will add those two if we have customer request.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.