Knowledge

AWS Lambda

Parameters

Name Description
action Required String The name of the action.
function_name Required String The name of the Lambda function.
integration_id Required Integer The id of the integration.
region Required String The Amazon region.
type Required String The type of the action. Should be set to LAMBDA.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
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 Boolean Makes files accessible through public HTTP.
client_context String The type of log data produced by the Lambda function. More info here.
payload Boolean The JSON that will be provided as input to the Lambda function. More info here.

Example

actions:
  - action: "Invoke function my-function"
    type: "LAMBDA"
    integration_id: 20
    function_name: "my-function"
    region: "us-east-1"
    invocation_type: "RequestResponse"
    log_type: "Tail"
    payload: "{\r\n    \"revision\": \"${execution.to_revision.revision}\",\r\n    \"message\": \"${execution.to_revision.message}\",\r\n    \"pipelineId\": \"${pipeline.id}\",\r\n    \"id\": \"$(execution.id}\"\r\n}"

Get started now

14 days of unlimited trial. No credit card required.