Skip to main content

Lambda Layer for tar gz 7z

Project description

AWS Lambda Layer with zip

NPM version PyPI version Release Gitpod Ready-to-Code

Usage:

// ZipLayer bundles the tar gzip 7z in a lambda layer
import { ZipLayer } from 'cdk-lambda-layer-zip';

declare const fn: lambda.Function;
fn.addLayers(new ZipLayer(this, 'ZipLayer'));
import { ZipLayer } from 'cdk-lambda-layer-zip'
import * as lambda from 'aws-cdk-lib/aws-lambda'

new lambda.Function(this, 'MyLambda', {
  code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
  handler: 'index.main',
  runtime: lambda.Runtime.PYTHON_3_9,
  layers: [new ZipLayer(this, 'ZipLayer')]
});

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cdk_lambda_layer_zip-2.0.377-py3-none-any.whl (6.8 MB view details)

Uploaded Python 3

File details

Details for the file cdk_lambda_layer_zip-2.0.377-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_lambda_layer_zip-2.0.377-py3-none-any.whl
Algorithm Hash digest
SHA256 d247253783ee0db56e8c35e0f2519ea348f4308af1fd9a2b2a71182ea657450a
MD5 aaa8a0410d6059d151582cb2377d142f
BLAKE2b-256 af8a47e55e84fa8bf2af122b4cd16b2615dbf1454e8a3526202dd2b132d86ac4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page