Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 2.35 KB

API_AliasConfiguration.md

File metadata and controls

49 lines (39 loc) · 2.35 KB

AliasConfiguration

Provides configuration information about a Lambda function version alias.

Contents

AliasArn Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA.
Type: String
Pattern: arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
Required: No

Description Alias description.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Required: No

FunctionVersion Function version to which the alias points.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern: (\$LATEST|[0-9]+)
Required: No

Name Alias name.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern: (?!^[0-9]+$)([a-zA-Z0-9-_]+)
Required: No

RevisionId Represents the latest updated revision of the function or alias.
Type: String
Required: No

RoutingConfig Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version.
Type: AliasRoutingConfiguration object
Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: