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.225.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fb0643ea44c1e4afa6a907657aa9b7f15729c0a675f637213bb07103426c65 |
|
MD5 | 0675777218b589aa416e48021299e50b |
|
BLAKE2b-256 | be862fc89b6b6964918a20338dc12dc0de9b28d58c72445be10e441a4717b65f |
Close
Hashes for cdk_lambda_layer_zip-1.0.225-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7d4520defc93280801b54965f4031224532ae4de4e1f0ddbea15081595aee0 |
|
MD5 | e3e58e0ab1b31f7d337fdec713bede35 |
|
BLAKE2b-256 | 196cfeffd819c33bacc1fb8344eb6f0c9e06229e130cc94cf7dca9f712789f16 |