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.370.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade1eccd8a0c7d80c22a63931270cc9f18d57f29333a798527e4eac22919865e |
|
MD5 | 3fc21c763658974ec7598fdca4679dab |
|
BLAKE2b-256 | 9ce47776fe34e513045ee2dd9e618c89ea700b17a713ef71374074a84134830f |
Close
Hashes for cdk_lambda_layer_zip-2.0.370-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea3247d910d839e2ebb5c9cb51470d2fd5ea3208e635ea79c9d251aaddf6547c |
|
MD5 | f6e5b32e9e1d8846120b87d856a7f030 |
|
BLAKE2b-256 | cf37a55eb0fc4cf2d22efc62bc6803822f5bd11359e73000c4077aac15bc0f36 |