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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 268b4e1cd60115b41c2710c9970c2525d8e2d47b48aa0497e1649517b866e80d |
|
MD5 | d9dd75b2fa9e81e209414c539f79df1f |
|
BLAKE2b-256 | e9d18270a2b217793e93fae7e80b481fd9461596d3d1675b8814eed2693bc89d |
Close
Hashes for cdk_lambda_layer_zip-1.0.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d69e4864a90af2ca102d1734c63821195aa2eb8f4c3b6c8583152d2873971cf2 |
|
MD5 | 0faffd4d5cd44a2125b422512e4d4a5d |
|
BLAKE2b-256 | b553fca4335de13c2fcc700d4668301928c11417dadda2891fbac3cf6115881c |