AWS Lambda with YAML
"AWS Lambda" action YAML parameters and examples
提示
YAML parameters for AWS Lambda
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | 操作名称 |
type 必填 | String | The type of the action. Should be set to LAMBDA . |
function_name 必填 | String | The name of the Lambda function. |
integration_hash 必填 | String | The ID of the integration. |
region 必填 | String | The Amazon region. |
type 必填 | 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_hash: "5ddb7c180fb38be67bd78a88a"