Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
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 Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-zip-2.0.363.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25134ca266c56c392d91d91b83029c12855731610aebf6145dd925902ce40e77 |
|
MD5 | e804ae190f232457bbdc549a8c503036 |
|
BLAKE2b-256 | 42d141258cbc80421432a0971c11659aeaed9fc83886b0ef53f58758b6b50440 |
Close
Hashes for cdk_lambda_layer_zip-2.0.363-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52f94b0d18dc1c2491f1d6d1bf0b5b66b901bbb031d8a6b262d15dcdd01e3d51 |
|
MD5 | 12e92103d8072ae6be0dd09f5046c4b1 |
|
BLAKE2b-256 | 982385d15c45599bfdf78aad6502eb445400fe8d11f97f6dfac590502edd35d5 |