feat(s3files): s3Files Lambda L1 integration#37547
Draft
vishaalmehrishi wants to merge 1 commit intomainfrom
Draft
feat(s3files): s3Files Lambda L1 integration#37547vishaalmehrishi wants to merge 1 commit intomainfrom
vishaalmehrishi wants to merge 1 commit intomainfrom
Conversation
aws-cdk-automation
previously requested changes
Apr 8, 2026
Contributor
|
|
||||||||||||||
Contributor
|
|
||||||||||||||
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason for this change
S3Files is a new feature being developed with S3 and EFS to allow customer to access their S3 buckets as high performant file systems. This PE introduces the L1 generated constructs and adds an integration to the L2 Lambda constructs to allow it to be mounted by the Function.
Description of changes
L1 constructs generated via the added schemas in temporary-schema + a new function for Lambda.FileSystem:
This function enables Lambda to mount an S3 Files file system. It uses AccessPointReflection to automatically
resolve the file system, mount targets, security groups, and IAM policies from the construct tree — so the
user only needs to pass the access point and mount path.
A new AccessPointReflection class in aws-s3files walks the construct tree to find:
Describe any new or updated permissions being added
Lambda gives itself permission to mount and write to the file system:
Description of how you validated changes
Unit tests (11 passing): AccessPointReflection (10 tests including cross-stack, mixed token matching,
deduplication) + Lambda s3files integration (1 test).
Deployed to an account onboarded for the feature with:
Was able to invoke the lambda which writes a file to the fs. Verified the synthesized template includes
DependsOn for mount targets on the Lambda resource.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license