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.181.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12d6a609b22ac28c3c09c6ceda4548ca1cb0587a9822d57045499e67b2b76ae6 |
|
MD5 | 2b12b5a82ba8e2852c6ae9c72d8d4ec8 |
|
BLAKE2b-256 | f640e3cadff5d621ebc7a5908a79db9a79450fe4724dd9fd0738518e0f749a79 |
Close
Hashes for cdk_lambda_layer_zip-2.0.181-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 170e3fabe00a33bd55967b47751e19c5d4d69b0f2164321b8864804f31c1276c |
|
MD5 | 4163b81955db5ae14be9ff047a78c152 |
|
BLAKE2b-256 | ff2898671ccea36eadb9e7a29e6afca92b89ceb2bfb944ba151f8028f5fa13c4 |