aws::lambda-version¶
Creates a version of a Lambda Function.
Example¶
aws::lambda-version lambda-version-example
function: $(aws::lambda-function lambda-function-example)
description: "Version 1 of lambda-function-example"
permission
statement-id: "AllowGetFunctionFromCloudFront"
action: "lambda:GetFunction"
principal: "edgelambda.amazonaws.com"
end
event-invoke-config
maximum-retry-attempts: 1
maximum-event-age-in-seconds: 600
end
end
Attributes¶
Attribute | Description |
---|---|
function | The Lambda Function to create a version for. (Required) |
description | The description for the version. |
permission set subresource | The set of permissions to be associated with the Lambda Function version.
|
event-invoke-config subresource | The event invoke configuration for the function version.
|
Outputs¶
Attribute | Description |
---|---|
version | The published version. |
arn | The ARN of the published version. |