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.102.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd7379f3755df50664da2ed2c27076e962a6258986488ab4c6ca6d81bcd4578 |
|
MD5 | 135a81f82da9e5c32c979670a249260d |
|
BLAKE2b-256 | c4309a7baeda350dd641d8f9852cb991751277397f485e64c344b58b739e4a5c |
Close
Hashes for cdk_lambda_layer_zip-2.0.102-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8cbf33d7540f453fda84a123fe4b39e4e1348272496d43c0348d74091b36308 |
|
MD5 | 8ae4981ea9f87b4af37e34321e18c77e |
|
BLAKE2b-256 | a6963a17fea446cd7235a7841143a2a9fba50af756a39d304cc6a2fa5b124f43 |