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.71.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 134e575293b3706757b821ed1730d0e9f1d804103d04f74ffe53601d15bd09d5 |
|
MD5 | a9fb7b1d5a795d97c110118df4c4c4bd |
|
BLAKE2b-256 | 89579544893df0cc0b01badeb5840ee77abbc2cfed960e79c0cf96cd6859a301 |
Close
Hashes for cdk_lambda_layer_zip-2.0.71-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15360715f6c02351c1a88f1246492b67d0c9fb09f9a47ec29443b6572bdc3cc3 |
|
MD5 | e84484316042725df949756505d9f9ac |
|
BLAKE2b-256 | 7831539cd47abfc48197ccb4103de2099a29ad9a17287c13e3ff6f36eb532e21 |