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.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c36bc21804743a48bd11e57ecd5ba449c2a8014d33f6ad19b3188f4cec4541fe |
|
MD5 | 1d62236438176c0be25d47f49c1891f2 |
|
BLAKE2b-256 | d1ed07af1b5cdadb73c55045ca952b04ec9edc17d08c986799266dc9905d5223 |
Close
Hashes for cdk_lambda_layer_zip-2.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d1de85e5048dfeb88e44a8eed294a2d7fc370a28decbdd5ad76895560897d3 |
|
MD5 | cfded3aac821056d9c2d7c12ce4cf34c |
|
BLAKE2b-256 | be706d8f9ed24addc8f376cf284c9f995ec788bd58d4e19161a4445112faf868 |