On this page
aws_lambda_function
Provides information about a Lambda Function.
Example Usage
variable "function_name" {
type = "string"
}
data "aws_lambda_function" "existing" {
function_name = "${var.function_name}"
}
Argument Reference
The following arguments are supported:
function_name- (Required) Name of the lambda function.qualifier- (Optional) Qualifier of the lambda function. Defaults to$LATEST.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn- The Amazon Resource Name (ARN) identifying your Lambda Function.dead_letter_config- Configure the function's dead letter queue.description- Description of what your Lambda Function does.environment- The Lambda environment's configuration settings.handler- The function entrypoint in your code.invoke_arn- The ARN to be used for invoking Lambda Function from API Gateway.kms_key_arn- The ARN for the KMS encryption key.last_modified- The date this resource was last modified.memory_size- Amount of memory in MB your Lambda Function can use at runtime.qualified_arn- The Amazon Resource Name (ARN) identifying your Lambda Function Versionreserved_concurrent_executions- The amount of reserved concurrent executions for this lambda function.role- IAM role attached to the Lambda Function.runtime- The runtime environment for the Lambda function..source_code_hash- Base64-encoded representation of raw SHA-256 sum of the zip file.source_code_size- The size in bytes of the function .zip file.timeout- The function execution time at which Lambda should terminate the function.tracing_config- Tracing settings of the function.version- The version of the Lambda function.vpc_config- VPC configuration associated with your Lambda function.
© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/lambda_function.html