Skip to content

feat(lambda): support for customer managed encryption (CMCMK)#32072

Merged
xazhao merged 1 commit intoaws:mainfrom
Vandita2020:cmcmk
Nov 13, 2024
Merged

feat(lambda): support for customer managed encryption (CMCMK)#32072
xazhao merged 1 commit intoaws:mainfrom
Vandita2020:cmcmk

Conversation

@Vandita2020
Copy link
Copy Markdown
Contributor

Issue # (if applicable)

NA

Reason for this change

AWS Lambda is adding a new feature that allows customers to use their own AWS KMS keys to encrypt their Lambda function code stored in Amazon S3. This gives customers greater control and flexibility over the encryption of their sensitive data and code. The new SourceKMSKeyArn field in the Lambda function's Code object enables customers to specify the ARN of the KMS key to be used for encryption.

Description of how you validated changes

Have added unit tests and integration test to verify the feature.

Checklist


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

@github-actions github-actions bot added p2 repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK labels Nov 9, 2024
@aws-cdk-automation aws-cdk-automation requested a review from a team November 9, 2024 00:42
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.29%. Comparing base (f598885) to head (2253787).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #32072      +/-   ##
==========================================
- Coverage   77.30%   77.29%   -0.02%     
==========================================
  Files         114      114              
  Lines        7627     7627              
  Branches     1360     1360              
==========================================
- Hits         5896     5895       -1     
- Misses       1549     1550       +1     
  Partials      182      182              
Flag Coverage Δ
suite.unit 77.29% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
packages/aws-cdk 77.29% <ø> (-0.02%) ⬇️

@Vandita2020 Vandita2020 force-pushed the cmcmk branch 5 times, most recently from 81ba967 to 91749f2 Compare November 13, 2024 03:27
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 13, 2024
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 2253787
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 13, 2024
@xazhao xazhao merged commit 2f16415 into aws:main Nov 13, 2024
@github-actions
Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

p2 repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants