跳到主要内容

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
必填
StringThe type of the action. Should be set to AWS_LAMBDA_DEPLOY.
function_name
必填
StringThe name of the Lambda function.
integration_hash
必填
StringThe ID of the integration.
region
必填
StringThe name of the Amazon region. The full list of regions is available here.
local_pathStringThe path in the repository.
deployment_excludesString[]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"