airflow.contrib.hooks.aws_lambda_hook
¶
This module contains AWS Lambda hook
Module Contents¶
-
class
airflow.contrib.hooks.aws_lambda_hook.
AwsLambdaHook
(function_name, region_name=None, log_type='None', qualifier='$LATEST', invocation_type='RequestResponse', config=None, *args, **kwargs)[source]¶ Bases:
airflow.contrib.hooks.aws_hook.AwsHook
Interact with AWS Lambda
- Parameters
function_name (str) – AWS Lambda Function Name
region_name (str) – AWS Region Name (example: us-west-2)
log_type (str) – Tail Invocation Request
qualifier (str) – AWS Lambda Function Version or Alias Name
invocation_type (str) – AWS Lambda Invocation Type (RequestResponse, Event etc)
config (botocore.client.Config) – Configuration for botocore client. (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html)