airflow.providers.amazon.aws.hooks.lambda_function
¶
This module contains AWS Lambda hook
Module Contents¶
Classes¶
Interact with AWS Lambda |
|
This hook is deprecated. |
- class airflow.providers.amazon.aws.hooks.lambda_function.LambdaHook(*args, **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook
Interact with AWS Lambda
Additional arguments (such as
aws_conn_id
) may be specified and are passed down to the underlying AwsBaseHook.See also
- Parameters
function_name -- AWS Lambda Function Name
log_type -- Tail Invocation Request
qualifier -- AWS Lambda Function Version or Alias Name
invocation_type -- AWS Lambda Invocation Type (RequestResponse, Event etc)
- invoke_lambda(self, *, function_name, invocation_type=None, log_type=None, client_context=None, payload=None, qualifier=None)[source]¶
Invoke Lambda Function. Refer to the boto3 documentation for more info.
- create_lambda(self, *, function_name, runtime, role, handler, code, description=None, timeout=None, memory_size=None, publish=None, vpc_config=None, package_type=None, dead_letter_config=None, environment=None, kms_key_arn=None, tracing_config=None, tags=None, layers=None, file_system_configs=None, image_config=None, code_signing_config_arn=None, architectures=None)[source]¶
Create a Lambda Function
- class airflow.providers.amazon.aws.hooks.lambda_function.AwsLambdaHook(*args, **kwargs)[source]¶
Bases:
LambdaHook
This hook is deprecated. Please use
airflow.providers.amazon.aws.hooks.lambda_function.LambdaHook
.