aws::lambda-alias

Creates an function alias.

Example

aws::lambda-alias lambda-alias-example
    name: "lambda-alias-example"
    function: $(aws::lambda-function lambda-function-event-source-mapping-example)
    function-version: "10"
    description: "lambda-alias-example"
    additional-version: "9"
    weight: 0.4
end

Attributes

Attribute Description
name Name of the Lambda Alias. (Required)
function The Lambda Function for the Lambda Alias. (Required)
function-version The Lambda Function version for the Lambda Alias. (Required)
description The description for the Lambda Alias.
additional-version Secondary Lambda Function versions for the Lambda Alias.
weight The weight to switch between the secondary version. Required if additional version set. Valid values are between 0 to 1.

Outputs

Attribute Description
arn The arn of the Lambda Alias.
revision-id The revision ID of the Lambda Alias.