AWS Lambda with YAML

YAML parameters for AWS Lambda

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to LAMBDA.
function_name
Required
StringThe name of the Lambda function.
integration
Required
IntegrationThe integration.
region
Required
StringThe Amazon region.
type
Required
StringThe type of the action. Should be set to LAMBDA.
qualifierStringThe Lambda function version or the alias name. More info here.
invocation_typeStringThe way in which the Lambda function will be invoked. More info here.
log_typeStringLogging type. Can be one of TAIL or NONE.
client_contextStringThe type of log data produced by the Lambda function. More info here.
payloadStringThe 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_id: 117