Skip to content

feat: pass S3ObjectStorageMode through from CodeUri and ContentUri#3959

Open
antespajic wants to merge 1 commit into
aws:developfrom
antespajic:feat/s3-object-storage-mode
Open

feat: pass S3ObjectStorageMode through from CodeUri and ContentUri#3959
antespajic wants to merge 1 commit into
aws:developfrom
antespajic:feat/s3-object-storage-mode

Conversation

@antespajic

Copy link
Copy Markdown

Issue #, if available

N/A

Description of changes

Pass StorageMode through the SAM transform from CodeUri on AWS::Serverless::Function and ContentUri on AWS::Serverless::LayerVersion to the generated CloudFormation S3ObjectStorageMode property.

Update the SAM and CloudFormation schemas and add transform coverage for both COPY and REFERENCE.

Description of how you validated changes

  • pytest -q tests/translator/test_translator.py -k s3_object_storage_mode --no-cov
  • pytest -q tests/schema/test_validate_schema.py --no-cov
  • pytest -q tests/model/s3_utils/test_uri_parser.py --no-cov
  • make format-check
  • ruff check samtranslator/internal/schema_source/aws_serverless_function.py samtranslator/internal/schema_source/aws_serverless_layerversion.py samtranslator/model/s3_utils/uri_parser.py

Checklist

Examples?

Not applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@antespajic antespajic requested a review from a team as a code owner July 16, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant