We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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::Lambda::Function
No response
Add CodeSha256 output from Lambda function config for use with Fn::GetAtt as input for AWS::Lambda::Version
CodeSha256
Fn::GetAtt
Updated CloudFormation AWS::Lambda::Version Example:
Resources: function: Type: AWS::Lambda::Function Properties: Handler: index.handler Role: arn:aws:iam::123456789012:role/lambda-role Code: ZipFile: | exports.handler = async (event) => { console.log(JSON.stringify(event, null, 2)); const response = { statusCode: 200, body: JSON.stringify('Hello from Lambda!'), }; return response; }; Runtime: nodejs18.x TracingConfig: Mode: Active version: Type: AWS::Lambda::Version Properties: FunctionName: !Ref function Description: v1 CodeSha256: !GetAtt function.CodeSha256 # use new function.CodeSha256 ProvisionedConcurrencyConfig: ProvisionedConcurrentExecutions: 20
Note: it might be useful to use UpdateReplacePolicy: Retain for some AWS::Lambda::Version use cases
UpdateReplacePolicy: Retain
AWS::Lambda::Version
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Name of the resource
AWS::Lambda::Function
Resource name
No response
Description
Add
CodeSha256
output from Lambda function config for use withFn::GetAtt
as input for AWS::Lambda::VersionUpdated CloudFormation AWS::Lambda::Version Example:
Note: it might be useful to use
UpdateReplacePolicy: Retain
for someAWS::Lambda::Version
use casesOther Details
No response
The text was updated successfully, but these errors were encountered: