-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(s3): Add support for transfer acceleration #12570
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-s3Related to Amazon S3Related to Amazon S3effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsGaps in CloudFormation coverage by L2 constructsp1
Description
The S3 module does not currently have support for setting transfer acceleration status on a bucket. Cloudformation already has support for this AWS::S3::Bucket AccelerateConfiguration
Use Case
Needed to enable transfer acceleration on S3 bucket.
Proposed Solution
Propose adding an enum for TransferAccelerationStatus:
export enum TransferAccelerationStatus {
/**
* Transfer acceleration is suspended.
*/
Suspended = 'Suspended',
/**
* Transfer acceleration is enabled.
*/
Enabled = 'Enabled',
}Along with support in construct props for Bucket:
const bucket = new s3.Bucket(this, "uploads", {
accelerationStatus: s3.TransferAccelerationStatus.Enabled,
// ...
});associated property:
transferAccelerationStatusand method:
public configureTransferAcceleration(status: TransferAccelerationStatus): void
s3.configureTransferAcceleration(s3.TransferAccelerationStatus.Enabled);Other
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-s3Related to Amazon S3Related to Amazon S3effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/coverage-gapGaps in CloudFormation coverage by L2 constructsGaps in CloudFormation coverage by L2 constructsp1