AWS Lambda Deploy with YAML
List of YAML parameters and examples for the "AWS Lambda" action
提示
YAML parameters for AWS Lambda Deploy
名称 | 类型 | 描述 |
---|---|---|
action 必填 | String | 操作名称 |
type 必填 | String | The type of the action. Should be set to AWS_LAMBDA_DEPLOY . |
function_name 必填 | String | The name of the Lambda function. |
integration_hash 必填 | String | The ID of the integration. |
region 必填 | String | The name of the Amazon region. The full list of regions is available here. |
local_path | String | The path in the repository. |
deployment_excludes | String[] | The paths and/or files that will be left out during the deployment. |
YAML example for AWS Lambda Deploy
actions:
- action: "Deploy function my-function"
type: "AWS_LAMBDA_DEPLOY"
integration_hash: "5ddb7c180fb38be67bd78a88a"
function_name: "my-function"
region: "us-east-1"
local_path: "/"
deployment_excludes:
- "/assets/"
- "file.txt"
deployment_includes:
- "/assets/assets-new/"
- "/assets/file.txt"