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.218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6ce09e18c737f3e14666c9178abf04e23dab93aa5cfdfea999359d34d58581 |
|
MD5 | 7b1dabfd8917484aea67454b366a8e36 |
|
BLAKE2b-256 | f23a4eb757f70cd8d4e2bb4c8671cbbed8900441b4724604140eabfccfd9174b |
Close
Hashes for cdk_lambda_layer_zip-1.0.218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2eca20545ddc1c25b6adedeef3c55dd901b1cb4e5e845955a8b42cd8186f39e |
|
MD5 | 8fe5ba743a077fb286ad98e929164d8d |
|
BLAKE2b-256 | 5ec53d7e5b72c8c4d77a35e43d59ed18e7271360bdae37e67321f50fbb8a2ba2 |