aws / aws/aws-cdk

(s3): Update S3 inventory config to allow bucket destination encryption config to be set

Open
#32,118 1 comment 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-s3 effort/small feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Allow for S3 bucket inventory configuration encryption to be configured.

### Use Case

Currently it is not possible to use CDK to deploy a bucket inventory config that has encryption settings for the destination bucket for the S3 inventories. This leads to cases when using an s3 inventory destination bucket which uses S3-SSE you cannot configure a working S3 inventory configuration using CDK leading to an unpleasant developer experience requiring either manual changes or a CR to make the modification via an S3 SDK call.

### Proposed Solution

Ideally it would be great to be able to set the following configuration within CDK:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_InventoryEncryption.html

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.166.0

### Environment details (OS name and version, etc.)

MacOs Sanoma 14.7.1

Contributor guide

Open the contributing guide

Research direction

Start by locating the CDK S3 inventory configuration and compare its available destination settings with the AWS InventoryEncryption API linked in the issue. Done means CDK can define encryption for an inventory destination bucket using S3-SSE and deploy a working inventory configuration without manual changes or an SDK call.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.