s3: bucketKey should support SSE-S3 #30183
Labels
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
bucketKeyEnabled
not allowed when the encryption is SSE-S3.aws-cdk/packages/aws-cdk-lib/aws-s3/test/bucket.test.ts
Lines 577 to 587 in 65f2bd9
But there's no document about this restriction and CloudFormation and console actually allow you to specify that.
Workaround:
Expected Behavior
Allows BucketEncryption with SSE-S3.
Current Behavior
not allowed
Reproduction Steps
Possible Solution
fix the logic here
aws-cdk/packages/aws-cdk-lib/aws-s3/lib/bucket.ts
Lines 2130 to 2136 in 65f2bd9
Additional Information/Context
No response
CDK CLI Version
v2.141.0
Framework Version
No response
Node.js Version
all
OS
all
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: