LambdaFunctionStateSensor

Amazon

Asks for the state of the Lambda until it reaches a target state. If the query fails, the task will fail.

View on GitHub

Last Updated: Dec. 14, 2022

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

function_nameRequiredThe name of the AWS Lambda function, version, or alias.
qualifierSpecify a version or alias to get details about a published version of the function.
target_statesThe Lambda states desired.
aws_conn_idaws connection to use, defaults to ‘aws_default’

Documentation

Asks for the state of the Lambda until it reaches a target state. If the query fails, the task will fail.

See also

For more information on how to use this sensor, take a look at the guide: Wait on an Amazon Lambda function state

Was this page helpful?