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.303.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2049482de97eeff5ebe63fc83f93f94468b6228ddd9682f8f296a5f1bca70a47 |
|
MD5 | c5620d9c88d420b80a1071ba401046bb |
|
BLAKE2b-256 | 4500f947c1201880595b12e09b3b70964da5a4532cca41e771f9f09fc97edde1 |
Close
Hashes for cdk_lambda_layer_zip-1.0.303-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ffce19c8c96319ff0c69cb76e7c97696cc31468f1755259760e50120634b663 |
|
MD5 | 809e692450782602c3d1ebe1c78fae6e |
|
BLAKE2b-256 | 8cf21872d24e188a4cdde0de304d569f08e87352e4d46ffce5510a5ab805ab45 |