Provides information about a Lambda Alias.
data "aws_lambda_alias" "production" {
function_name = "my-lambda-func"
name = "production"
}
This data source supports the following arguments:
function_name
- (Required) Name of the aliased Lambda function.name
- (Required) Name of the Lambda alias.This data source exports the following attributes in addition to the arguments above:
arn
- ARN identifying the Lambda function alias.description
- Description of alias.function_version
- Lambda function version which the alias uses.invoke_arn
- ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's uri
.