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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9944b4d9ba69fa8f1a00bbf62312d599fdd95e451fbe15cb80e93c3a8c2bfaef |
|
MD5 | 87327f8c420fdeecddf541af56d2211d |
|
BLAKE2b-256 | f2370655e67ac41073fcd61df5f262f615409b02bdd70ba2cce212e779dd31c7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba3b4b26c41398635a27653978be4c1f25553aad8c866812f18ebe72d2c827d |
|
MD5 | 0ce08e9e0cb3e91d9dbecf0f8d51fdae |
|
BLAKE2b-256 | 64f811e912d26c5973fd18ea44f6f12bf9c44673c101a1ee2a7cfc99b12c59b8 |