0.2.3 • Published 20 days ago

@aws-deploy-plugins/lambda v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
20 days ago

@aws-deploy-plugins/lambda

📦 Install

Install the plugin with your package manager of choice (npm, yarn, pnpm, etc).

npm install --save-dev @aws-deploy-plugins/lambda

🚀 Usage

Add a deployment target in your lambda's project.json and use the @aws-deploy-plugins/lambda:deploy executor.

For example:

    "deploy": {
      "executor": "@aws-deploy-plugins/lambda:deploy",
      "options": {
        "functionName": "my-lambda-function",
      }
    }

Options

ParameterTypeDescription
functionNamestring(Optional) The name of the lambda function. Defaults to the project name.
awsRegionstring(Optional) The Lambda's AWS region. If not specified, the default credential provider chain is used.
assumeRoleARNstring(Optional) The ARN of the role to assume before making any AWS API call. If not specified, the default credential provider chain is used.
s3Bucketstring(Optional) The name of the S3 bucket to which the deployment package will be uploaded. If not specified, will deploy the package directly (50 MB max).
s3Keystring(Optional) The key of the S3 object to which the deployment package will be uploaded. Defaults to <project-name>.zip.
buildDirectoryPathstring(Optional) The path to the build directory (.js files). Defaults to the project's build target's output directory.
compressionLevelnumber(Optional) The compression level of the deployment package. Defaults to 9.
deleteLocalPackageboolean(Optional) Whether to delete the local package after the deployment. Defaults to true.
packageFilePathstring(Optional) The path to the deployment package. Defaults to <project-name>.zip.
publishboolean(Optional) Whether to publish the lambda function. Defaults to false.
cloudFrontDistributionIdstring(Optional) The ID of the CloudFront distribution to update after deployment. Use it for Lambda@Edge Defaults to null.
cloudFrontEventTypeenum(Optional) The type of CloudFront event to update after deployment. Use it for Lambda@Edge Defaults to viewer-request.
0.2.3

20 days ago

0.2.2

2 months ago

0.2.1

4 months ago

0.2.0

4 months ago

0.1.1

4 months ago

0.1.0

5 months ago

0.0.11

5 months ago

0.0.10

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago