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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6268e36ce59b0c4f563daa57e0b5c487bf5325df73ac227bf87ad19f51aa324 |
|
MD5 | 635590ff964bbaa00a3caec43daf70bc |
|
BLAKE2b-256 | c7f911028a38dbeeac4de8207b8dc200e3f066d2d09e590a214faf056f2a1b01 |
Close
Hashes for cdk_lambda_layer_zip-1.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eb2e49d7dbd9f9dae726e6720523865d28a40a0861034a3790cd25922e84a76 |
|
MD5 | a32e9ef54bdd2c5c8f09e7b48e478942 |
|
BLAKE2b-256 | 4dfc4d1739b67d29ada8ec1aa387345ced59435f15f0eccc995d6ddfd45d9901 |