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.203.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00adcae72c0d1263dbd37fa230a24664a16a6be9cc584023213be567962641cf |
|
MD5 | 2d7c8340563c29ebb4912a14bba39cd3 |
|
BLAKE2b-256 | f26057cdd4f194cdbfed37021b42de834db91edf3a6f59622725063d65572749 |
Close
Hashes for cdk_lambda_layer_zip-1.0.203-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4cd0146b275865d4049a571ffaa4ef43c01385c7f79fffb1a998d80ed5c8f04 |
|
MD5 | f6a5e405516f5db5c4194112b5f36011 |
|
BLAKE2b-256 | 481a6e81403c50be6ad6834062422159461cb3974239c3051965183740fdb4c7 |