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.248.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 685b25a7914a06fec86e6c4f5eac85a46f9bd372e0d29e1dc9e7c9ac50db37ca |
|
MD5 | e7c0e9eeb26f60fba8570a44b094d73e |
|
BLAKE2b-256 | 297efb70f44a2759cb073e405dcfbf760816bab3204547b18237bd361500d74b |
Close
Hashes for cdk_lambda_layer_zip-2.0.248-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec1759117f5afcf9374e0a66292e50f8727531650fcd123bdf2482f6348ff0cc |
|
MD5 | 1a73ec194aa64dd8ce12f1cf37ec27c3 |
|
BLAKE2b-256 | 5ba778fcf3d0bdb645774517ab49a03a47d6720de3b44bcd2826dfbdd971132b |