aws.lambda-alias resource¶
Description¶
Alias gives a Lambda function version a stable name, the way CloudFormation models AWS::Lambda::Alias. The function and alias name identify the alias and are fixed at creation; the target version, description, and routing weights reconcile in place through UpdateAlias. Removing description means the desired description is the empty string, and removing routing-config means the desired traffic-shift configuration is empty, so update sends both members explicitly instead of omitting them.
Source: internal/service/lambda/alias_rsrc.go:23
Example usage:
imports: {
aws: 'github.com/cloudboss/unobin-library-aws'
}
resources: {
example: aws.lambda-alias {
# Set input fields here.
}
}
Inputs¶
name
string
function-name
string
function-version
string
description
optional(string)
routing-config
optional(object)
optional(
object({
additional-version-weights: optional(map(number))
})
)
Input Constraints¶
This kind declares no extra input constraints.
Outputs¶
arn
string
invoke-arn
string
function-name
string
name
string