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.309.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97576c08404d083a1072a13c91964503da7e5fa3ee70b9c62680a84d3e3f6ed6 |
|
MD5 | d1ecd283f8d97b6a6eac556fd9dacf1a |
|
BLAKE2b-256 | 70d858dc473742251b7fb39710282b9f08f7561abce0f78e3c1094d47a7f1aa0 |
Close
Hashes for cdk_lambda_layer_zip-1.0.309-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f68028d3ae78ff313a664e1d57e5518fd634cd0e2c7dddf90ea194e21b437e |
|
MD5 | 3552c72f8b44b88f4145d6f496b72d30 |
|
BLAKE2b-256 | 28adc4382b58fdc6a8fa9dc7a7d4774ccd843c921153382cfca2f6da2b1c315a |