o-nikolas commented on code in PR #50516: URL: https://github.com/apache/airflow/pull/50516#discussion_r2087170178
########## providers/amazon/provider.yaml: ########## @@ -1003,6 +1003,82 @@ config: example: '{"Tags": [{"Key": "key", "Value": "value"}]}' default: ~ + aws_lambda_executor: + description: | + This section only applies if you are using the AwsLambdaExecutor in + Airflow's ``[core.executor]`` configuration. + For more information see: + https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda/client/invoke.html + https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html + https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/executors/lambda-executor.html + options: + conn_id: + description: | + The Airflow connection (i.e. credentials) used by the Lambda executor to make API calls. + version_added: "9.7.0" + type: string + example: "aws_default" + default: "aws_default" + region_name: + description: | + The name of the AWS Region where Amazon Lambda is configured. + version_added: "9.7.0" + type: string + example: "us-east-1" + default: ~ + check_health_on_startup: + description: | + Whether or not to check the Lambda Executor health on startup. + version_added: "9.7.0" + type: boolean + example: "True" + default: "True" + max_run_task_attempts: + description: | + The maximum number of times the Lambda Executor should attempt to start an Airflow task. + version_added: "9.7.0" + type: integer + example: "3" + default: "3" + queue_url: + description: | + The name of the SQS queue to use for the Lambda executor. Required. Review Comment: Good catch! Should be URL, will fix ########## providers/amazon/provider.yaml: ########## @@ -1003,6 +1003,82 @@ config: example: '{"Tags": [{"Key": "key", "Value": "value"}]}' default: ~ + aws_lambda_executor: + description: | + This section only applies if you are using the AwsLambdaExecutor in + Airflow's ``[core.executor]`` configuration. + For more information see: + https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda/client/invoke.html + https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html + https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/executors/lambda-executor.html + options: + conn_id: + description: | + The Airflow connection (i.e. credentials) used by the Lambda executor to make API calls. + version_added: "9.7.0" + type: string + example: "aws_default" + default: "aws_default" + region_name: + description: | + The name of the AWS Region where Amazon Lambda is configured. + version_added: "9.7.0" + type: string + example: "us-east-1" + default: ~ + check_health_on_startup: + description: | + Whether or not to check the Lambda Executor health on startup. + version_added: "9.7.0" + type: boolean + example: "True" + default: "True" + max_run_task_attempts: + description: | + The maximum number of times the Lambda Executor should attempt to start an Airflow task. + version_added: "9.7.0" + type: integer + example: "3" + default: "3" + queue_url: + description: | + The name of the SQS queue to use for the Lambda executor. Required. + The Lambda executor will poll this queue for results of the lambda function's Airflow Task. + version_added: "9.7.0" + type: string + example: "airflow-lambda-executor-results-queue" + default: ~ + dead_letter_queue_url: + description: | + The name of the SQS dead letter queue to use for the Lambda function. The Lambda executor Review Comment: Same as above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org