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.49.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7632b67d06178033a53b1711efee36b2f34e5e3b2b3c36d86e60c467df7714e |
|
MD5 | 8e4fd372807284a48424ef2dcec01f13 |
|
BLAKE2b-256 | a8f6b10380ac284084faaa6691b21e45c4c55994ca4d83ad000b804e2fd8000a |
Close
Hashes for cdk_lambda_layer_zip-2.0.49-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71bad053e1f668b10f5f46c07b34be22be9c14f064b99fd09561e18d28d10391 |
|
MD5 | 210f0058a052a971b89c8deb4c680ef2 |
|
BLAKE2b-256 | 9a170bd05dcf0828365f734ee1db2c8311bb70dd79acefe443cb464fa58b7b58 |