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.182.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d160a7ac1e61d860b6256384fb50433aab4016baff7939540dc4157d4182a8c9 |
|
MD5 | 3f7272ef9e82423f5e0ba763a87083ec |
|
BLAKE2b-256 | 416752c1f6d8a1f9b56898252214a7ab96bebed9e771f30996386c23d3a25627 |
Close
Hashes for cdk_lambda_layer_zip-1.0.182-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72680a9846b75a6fed3d78cce1b2ad85df101738882c452d40c8d66efbef4ae9 |
|
MD5 | 76877019468c8eccc135f50773245a4b |
|
BLAKE2b-256 | 31d2a6817c8647df902502dd375a4ddd9cec0057f192036797ee30c03491d477 |