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.95.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a69b1c14c52538f4eb581accc15aa9f745b8f57d1b55349d2c07af3eef7c908c |
|
MD5 | 8ce5476cbe7cd34cbb17151bb0593f5c |
|
BLAKE2b-256 | cd89af1163cd1cbc5805589c72be125eab5b95aa0fda1056e49bea89dfb1b987 |
Close
Hashes for cdk_lambda_layer_zip-2.0.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab415f83409bbb8e523dded4c4ce0a9eeb5385b6476c292e01043d90135c8b1 |
|
MD5 | c17cd627409bb4e089eae4fcff2c6efe |
|
BLAKE2b-256 | e38e9c4cd6ad021736b985548ecb25f2ec5e2d85c73427542787dfb33eb46bea |