aws-cloudfront-origins: optional s3:PutObject
permission missing in S3BucketOrigin.withOriginAccessControl
#31362
Labels
@aws-cdk/aws-cloudfront-origins
Related to CloudFront Origins for the CDK CloudFront Library
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
According to the AWS docs, it's possible to grant both read and write access when using CloudFront OAC with an S3 bucket origin. However, the
S3BucketOrigin.withOriginAccessControl
L2 construct currently defaults to read-only access, and there is no built-in option to add write permissions.Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
See above.
Current Behavior
See above.
Reproduction Steps
See above.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.156.0
Framework Version
No response
Node.js Version
20.17.0
OS
Ubuntu 22.04.3 LTS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: