(s3): Add support for transfer acceleration
See original GitHub issueThe 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:
transferAccelerationStatus
and 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
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Enabling and using S3 Transfer Acceleration
You can use Amazon S3 Transfer Acceleration transfer files quickly and securely over long distances between your client and an S3 bucket.
Read more >Enable faster uploads and downloads with your S3 Bucket
You can enable transfer acceleration through the console, API, SDK, or CLI. Only the bucket owner or a user with the permission ...
Read more >Enabling and using S3 Transfer Acceleration - 亚马逊云科技
You can use Amazon S3 Transfer Acceleration transfer files quickly and securely over long distances between your client and an S3 bucket.
Read more >S3 Transfer Acceleration - Trend Micro
Choose Enable under Transfer acceleration to enable the Transfer Acceleration feature for the selected Amazon S3 bucket. · Copy the new accelerated endpoint...
Read more >S3 Transfer Acceleration Error (code 3011) | Knowledge Base
Using Amazon S3 Console · In the Buckets list, select the bucket that you want to enable transfer acceleration for. · Click Properties....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
One quick note: that should be:
That would work, allthough
addPropertyOverride
is meant for properties that are supported by CloudFormation but missing from the spec. In this case it’s even possible to set the property in a type-safe way: