S3 deployment: set objects metadata per suffix
Open
@aws-cdk/aws-s3-deployment
effort/medium
feature-request
p1
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
For the S3 deployment module I notice that it's possible to [set object metadata](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-s3-deployment-readme.html#objects-metadata). Is it possible to set different metadata for different suffixes? I.e. set one cache-control header for `/index.html` and set a different one for `/static/image.png`?
Contributor guide
Research direction
Start by locating the S3 deployment module and its existing object-metadata handling. Determine whether the module can express different metadata for /index.html and /static/image.png, then define and verify behavior for suffix-specific metadata; the issue provides no file or test names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100