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.159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0149a9b256dc2fbfd136d00d2b108fd5c8c3b47808159198507406f96c61ec05 |
|
MD5 | 9d95ed54386980e76c9ee7d37c19a1f8 |
|
BLAKE2b-256 | 9f8cddc5a66b49f42c09398a216b5c4b9930bb34ff1d0188a980bf32483ab246 |
Close
Hashes for cdk_lambda_layer_zip-2.0.159-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5261d333cd9165192952ee3745b99b038d6033becc9cf2b5046c6bac70802ee2 |
|
MD5 | 0fd777c42760ac87a935ff38f92b886e |
|
BLAKE2b-256 | 55d906e74ea1e2ff98038e819201e5d9e8cccb6f514dadfaeb99eb63bb83259c |