AWS Lambda Deploy with YAML
YAML parameters for AWS Lambda Deploy
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to AWS_LAMBDA_DEPLOY . |
function_name Required | String | The name of the Lambda function. |
integration_hash Required | String | The ID of the integration. |
region Required | 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"
Last modified on April 26, 2022