AWS Lambda with YAML
YAML parameters for AWS Lambda
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to LAMBDA . |
function_name Required | String | The name of the Lambda function. |
integration Required | String | The ID of the integration. |
region Required | String | The Amazon region. |
type Required | String | The type of the action. Should be set to LAMBDA . |
qualifier | String | The Lambda function version or the alias name. More info here. |
invocation_type | String | The way in which the Lambda function will be invoked. More info here. |
log_type | String | Logging type. Can be one of TAIL or NONE . |
client_context | String | The type of log data produced by the Lambda function. More info here. |
payload | String | The JSON that will be provided as input to the Lambda function. More info here. |
YAML example for AWS Lambda
actions:
- action: "Invoke function hello-world"
type: "LAMBDA"
region: "us-east-1"
function_name: "hello-world"
invocation_type: "RequestResponse"
log_type: "Tail"
payload: "{\r\n \"revision\": \"${BUDDY_EXECUTION_REVISION}\"\r\n}"
integration: "my_integration"
Last modified on March 22, 2024