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.302.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f522a39a5a94b0eba9b42ed02a3e29ef122107b06484706ce39a85231259703b |
|
MD5 | 2b86000f5d6d65e672f7cfd0a05dfde9 |
|
BLAKE2b-256 | 7d0888fa41055b693570f64efdb7e4886c613cd029acf787363dde392acff331 |
Close
Hashes for cdk_lambda_layer_zip-1.0.302-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c84f45c32736b96a83cfe3afec6b99c41a2aaa2a6fd8f3203d16ef482d651389 |
|
MD5 | 7c529c92b89b7cda9cc07d0750ef8af9 |
|
BLAKE2b-256 | 289d0b3e7e5a3121ccb8f0196597f32353a4083901222c29687d8973ec9aa160 |