aws.lambda.list_functions
Example SQL Queries
SELECT * FROMaws.lambda.list_functions;Description
Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.
Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.
The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.
Table Definition
| Column Name | Column Data Type |
|---|---|
| function_version Input Column Set to ALL to include entries for all published versions of each function. | VARCHAR |
| master_region Input Column For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, us-east-1 filters the list of functions to include only Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set FunctionVersion to ALL. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| architectures The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64. | VARCHAR[] |
Show child fields
| |
| code_sha256 The SHA256 hash of the function's deployment package. | VARCHAR |
| code_size The size of the function's deployment package, in bytes. | BIGINT |
| dead_letter_config The function's dead letter queue. | STRUCT( |
Show child fields
| |
| description The function's description. | VARCHAR |
| environment The function's environment variables. Omitted from CloudTrail logs. | STRUCT( |
Show child fields
| |
| ephemeral_storage The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console). | STRUCT( |
Show child fields
| |
| file_system_configs Connection settings for an Amazon EFS file system. | STRUCT( |
Show child fields
| |
| function_arn The function's Amazon Resource Name (ARN). | VARCHAR |
| function_name The name of the function. | VARCHAR |
| handler The function that Lambda calls to begin running your function. | VARCHAR |
| image_config_response The function's image configuration values. | STRUCT( |
Show child fields
| |
| kms_key_arn The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a customer managed key. | VARCHAR |
| last_modified The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). | VARCHAR |
| last_update_status The status of the last update that was performed on the function. This is first set to Successful after function creation completes. | VARCHAR |
| last_update_status_reason The reason for the last update that was performed on the function. | VARCHAR |
| last_update_status_reason_code The reason code for the last update that was performed on the function. | VARCHAR |
| layers The function's layers. | STRUCT( |
Show child fields
| |
| logging_config The function's Amazon CloudWatch Logs configuration settings. | STRUCT( |
Show child fields
| |
| master_arn For Lambda@Edge functions, the ARN of the main function. | VARCHAR |
| memory_size The amount of memory available to the function at runtime. | BIGINT |
| package_type The type of deployment package. Set to Image for container image and set Zip for .zip file archive. | VARCHAR |
| revision_id The latest updated revision of the function or alias. | VARCHAR |
| role The function's execution role. | VARCHAR |
| runtime The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image. The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes. | VARCHAR |
| runtime_version_config The ARN of the runtime and any errors that occured. | STRUCT( |
Show child fields
| |
| signing_job_arn The ARN of the signing job. | VARCHAR |
| signing_profile_version_arn The ARN of the signing profile version. | VARCHAR |
| snap_start Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart. | STRUCT( |
Show child fields
| |
| state The current state of the function. When the state is Inactive, you can reactivate the function by invoking it. | VARCHAR |
| state_reason The reason for the function's current state. | VARCHAR |
| state_reason_code The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function. | VARCHAR |
| timeout The amount of time in seconds that Lambda allows a function to run before stopping it. | BIGINT |
| tracing_config The function's X-Ray tracing configuration. | STRUCT( |
Show child fields
| |
| version The version of the Lambda function. | VARCHAR |
| vpc_config The function's networking configuration. | STRUCT( |
Show child fields
| |