(aws-s3): "s3: PutBucketPolicy" is added when autoDeleteObjects=True, in CDK Version 2.100 #29873
Labels
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Describe the bug
SIM Ticket - V1347352006
This PR added "s3:PutBucketPolicy" when autoDeleteObjects is set to True in CDK Version 2.100
Expected Behavior
the policy should not be added by default
Current Behavior
creating a bucket with "autoDeleteObject: true" automatically added "s3:PutBucketPolicy".
Reproduction Steps
This policy generated -
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.100
Framework Version
No response
Node.js Version
na
OS
mac
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: