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.130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0136db3cb167a04fc76072440925c6d2c3d405bddb167f91459881031523ab2 |
|
MD5 | 139611eb54a5367581bea4d1b5a22072 |
|
BLAKE2b-256 | 602e79cb7340d82bfe265925b41adf346300aff3521b3d31d896fdd3e0509b52 |
Close
Hashes for cdk_lambda_layer_zip-2.0.130-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec5b85e9ded49d5b50191bbbf3f9547f562ed8a0fa148ecdf4a682eb2e7b315 |
|
MD5 | 193fec71202f6bf2b5264ac199f0e8e5 |
|
BLAKE2b-256 | 13e0289e229257e7979d73772465a63924f57d0a8af2c099d38581cbc12b33e1 |