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.40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02cf1b0e36569656cd7986d94c651adf39f85bd52b050aa82792dc8aef4efb7e |
|
MD5 | 6ae069b73df231807005a01c3568ece8 |
|
BLAKE2b-256 | 445c0afddd45ae83948966f242bc2ae158f602fa0b4bb6fac7a3be5c252fdae2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 222870383a720f2c1ab05a12124fe77f66ec2da5623d38cbb73795a8f0d49b29 |
|
MD5 | cae5cf9c74e15441eaa7fb0930473ec0 |
|
BLAKE2b-256 | a1279e5a331c2738487843b85cb26f25d60f03459a5d4c9a83fdea13041de1c9 |