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.305.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296dc1a42db544f40016dd83236fb55603278cb69429f43a8d3939ef9eb45d26 |
|
MD5 | e66e3a875cba335a6d3b669dfdfb3e79 |
|
BLAKE2b-256 | 9be5caf6a6fdf7e9edaa2699d81b5aabef97ff266e3f2aae2f2899dbfaed8622 |
Close
Hashes for cdk_lambda_layer_zip-2.0.305-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 813e74b96d29208deace72d8ea664b70aab76f285c2e75ee1e644fcee78b587c |
|
MD5 | 70a324b192e849f8e812e7142b53557f |
|
BLAKE2b-256 | bc272483014b086ee5585aec89491f1437113b7996897a40919690840c8b7b08 |