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.393.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da6f38447554aaf950ffc528abb235b12ca855feb456586c63fd22e3950e1cfc |
|
MD5 | 2a607973c63515a0546e84cabee4cd74 |
|
BLAKE2b-256 | 584569792a85f6d252daa2d7b739291dc482663cd189d0ca9bcaf2850de98d04 |
Close
Hashes for cdk_lambda_layer_zip-1.0.393-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b744b59c74032a2b99fdd76941bd97db80c09b9408835fff4b10085772fbf82 |
|
MD5 | a8a77cdafb644adb80e37ef4a0a06c3d |
|
BLAKE2b-256 | 2f62a07e70c70ba9a437e0f00e05aff382022899c5f1eb84a2dc4af018a99831 |