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.368.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9310f4adc143a5f77ec9133e1d381a715111ff4c8d06efe0b3452b0e08251ff |
|
MD5 | dcbac0d5fd02a9a2c2c777e196b9900a |
|
BLAKE2b-256 | 77ae35732a222a6ce87f99c962dfa27c0115e57fb5dca945ab9c2ca38fae1fa4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.368-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14f2c38d77b4cbe373a41633efdbee17ba03c85e94e988e8c54239f3b0f81134 |
|
MD5 | 3593fe92330df4f0889558d775e675e6 |
|
BLAKE2b-256 | 1a83f0c206297f944f4504fc0aca8624fa21f09135dcd34af3b9e43921b191bc |