AWS Lambda with YAML

YAML parameters for AWS Lambda

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to LAMBDA.
function_name RequiredStringThe name of the Lambda function.
integration RequiredStringThe ID of the integration.
region RequiredStringThe Amazon region.
type RequiredStringThe 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

yaml
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_RUN_COMMIT}\"\r\n}" integration: "my_integration"

Last modified on Oct 29, 2024