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-1.0.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0f8d82e54fdbd1e373bc89aa55ed682c8e93d54cba5f0c445701457d36b956 |
|
MD5 | f78a9c2bb5bd7462dc3a4130bc3f6ede |
|
BLAKE2b-256 | 3a79b36e8daabc99f67770695db98a09cfa1baa9ae13b765a2a7940a8d3ba3d1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd7a794c57e7f49973532eb9f91e3b692dd138410973f266d0cdf3feb087dd5 |
|
MD5 | daa314913f8712734d11a2fcabf7358a |
|
BLAKE2b-256 | f376775561e93ed628f6bcef88a0c3e73fd02144633efca71f777975dee60143 |