Skip to content

Data Source: awsLambdaAlias

Provides information about a Lambda Alias.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsLambdaAlias.DataAwsLambdaAlias(this, "production", {
  functionName: "my-lambda-func",
  name: "production",
});

Argument Reference

The following arguments are supported:

  • functionName - (Required) Name of the aliased Lambda function.
  • name - (Required) Name of the Lambda alias.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - ARN identifying the Lambda function alias.
  • description - Description of alias.
  • functionVersion - Lambda function version which the alias uses.
  • invokeArn - ARN to be used for invoking Lambda Function from API Gateway - to be used in aws_api_gateway_integration's uri.