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.185.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227521e9d8d3b5a5ff188ecdf6be9af70151876d850847fc4b153392154bf9b9 |
|
MD5 | 89393572133816301289430258e5c540 |
|
BLAKE2b-256 | 8bdfacf3cf926c8150cc9d85fa03c57e08cba93b511a79ce6fca39ed793ed8bd |
Close
Hashes for cdk_lambda_layer_zip-1.0.185-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83327ff48cfbd60b9868b1952d5b4cd71ce4890c8cb0ecb10a1185ee05d697d4 |
|
MD5 | a219d3d2658658664d29c6330b01426c |
|
BLAKE2b-256 | 863b91ef6227d35cdff7042505058435f7c2a91fcf422fa978afe2d8ba963bef |