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.373.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18655e7594bf15aa0966463082ff6cfa343bfca52743b6dc13b372013f92095d |
|
MD5 | ce1e0c2113d5c5908bae7fe9a2bbd38b |
|
BLAKE2b-256 | 281f32239c5ef5376b540952a003ed8a6e974827f21704952bdfc17ac8df01e3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.373-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4bd5f3e055babf225425fe33daad1ed9f4a64293bf8b5f3cecc8381af61ac5 |
|
MD5 | 23c87daca3c59129d2a24f280b7c1f35 |
|
BLAKE2b-256 | 707db6005f382648626f571e380e94f3e137ea327fc996b5073fbbcb7d37836a |