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.390.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | effdd72eb577c41ab465ffb7c2d4d41a3c8103c8a66d43e885f76a7da9e5b82c |
|
MD5 | 23d5115729724fa231fdee76504f2191 |
|
BLAKE2b-256 | 7b6a098c97d062754ffe36870b9741cc51d346b068991de48bf88128653cea60 |
Close
Hashes for cdk_lambda_layer_zip-1.0.390-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6398269bcb56f7f21483b60e47b0df2ad82627ee921088863780f10999ffc86b |
|
MD5 | 29bc6841f30439a6e44b466dad350675 |
|
BLAKE2b-256 | 9f286845b205c2efdf3c4615d335beb1fdcf2acdc63d59b9edec3735e9bd4f6b |