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.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356895921bc0427aac5aec8ee69947d6a0a5bef2801e65ad2565e41b847f0aa7 |
|
MD5 | 2c95288e48b721a8b5eb88a273d93f9a |
|
BLAKE2b-256 | aad6685c380accf0e0fcb2647dccc48d831726402180aefb29c18847667ac561 |
Close
Hashes for cdk_lambda_layer_zip-1.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79fea76660ca08c8d0689f2d7f00f09bd1082ecfffcb4b1498e5ee920b19f953 |
|
MD5 | c8df8093ed6c25cdc0ccb7b3e41734f1 |
|
BLAKE2b-256 | a91d3286c44314ca77cc19c0f2b79255cda484aa52019eeafc56215da0639e3a |