-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-cloudfront-origins): Enable S3 versioned access for OAC #33034
Open
1 of 2 tasks
Labels
@aws-cdk/aws-cloudfront-origins
Related to CloudFront Origins for the CDK CloudFront Library
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Comments
matthiasgubler
added
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
labels
Jan 21, 2025
github-actions
bot
added
the
@aws-cdk/aws-cloudfront-origins
Related to CloudFront Origins for the CDK CloudFront Library
label
Jan 21, 2025
Makes sense to me. We welcome the PRs and let address this issue from there. |
pahud
added
p2
effort/medium
Medium work item – several days of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jan 21, 2025
matthiasgubler
added a commit
to matthiasgubler/aws-cdk
that referenced
this issue
Jan 21, 2025
This allows creating an S3 bucket origin OriginAccessControl for access of versioned objects Fixes aws#33034
matthiasgubler
changed the title
(aws-cloudfron-origins): Enable S3 versioned access for OAC
(aws-cloudfront-origins): Enable S3 versioned access for OAC
Jan 21, 2025
matthiasgubler
added a commit
to matthiasgubler/aws-cdk
that referenced
this issue
Jan 21, 2025
This allows creating an S3 bucket origin OriginAccessControl for access of versioned objects Fixes aws#33034
1 task
matthiasgubler
added a commit
to matthiasgubler/aws-cdk
that referenced
this issue
Jan 22, 2025
This allows creating an S3 bucket origin OriginAccessControl for access of versioned objects Fixes aws#33034
matthiasgubler
added a commit
to matthiasgubler/aws-cdk
that referenced
this issue
Jan 22, 2025
This allows creating an S3 bucket origin OriginAccessControl for access of versioned objects Fixes aws#33034
matthiasgubler
added a commit
to matthiasgubler/aws-cdk
that referenced
this issue
Jan 22, 2025
This allows creating an S3 bucket origin OriginAccessControl for access of versioned objects Fixes aws#33034
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-cloudfront-origins
Related to CloudFront Origins for the CDK CloudFront Library
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
By calling
S3BucketOrigin.withOriginAccessControl
the access-levels only allow for adding for the bucket actions3:GetObject
but there is no way to easily adds3:GetObjectVersion
. In order to get that, the bucket permissions must be extended manually.There should be a way to extend the access levels, have a way to manually extend required actions or set a flag to enable versioned access.
Use Case
I created an S3 origin with OAC to provide a signed url and allow the
versionId
to be passed, so the user can download a specific object version. I needed to extend the bucket permission manually, by adding the action's3:GetObjectVersion'
for the distributionId.Proposed Solution
I see three possible solutions:
AccessLevel
to have aREAD_VERSIONED
versioned
in the properties on creating the OACOther Information
No response
Acknowledgements
CDK version used
2.167.1
Environment details (OS name and version, etc.)
MacOS
The text was updated successfully, but these errors were encountered: