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.353.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e13600e57be05fac6162e09c49897f7f01512aaada4c3b34d739a211a8f5911 |
|
MD5 | eef529de1e5c82abbde664d5cd2d7856 |
|
BLAKE2b-256 | 204db94f3a1625d11ed12b6251762e2cf8fc1351683d66699cfd4b7895446a8d |
Close
Hashes for cdk_lambda_layer_zip-1.0.353-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db25c006109c77d66f8db233b3c6615f54cb88819320bc31e360d8eae7b8d938 |
|
MD5 | 38bcf0541d91abb341da511411ec58ee |
|
BLAKE2b-256 | 3c99767230d0477a2553ea31a14b3d83d86f6e45763a866f793568a4585c71e2 |