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.259.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3b54b1555381fd63c315e80105ab6a282dc8d9b277d7512907f1b623b08b596 |
|
MD5 | 158a310b1d4a9453d62308f3869f5dfb |
|
BLAKE2b-256 | 80b99ae34cf4223a5f02ab1515683410646ff68ddad7b5eb29eb2f152061705a |
Close
Hashes for cdk_lambda_layer_zip-2.0.259-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf888ee9d191b629c7c1ed276bf4fe89c0a5f4816e01fb2b1043bbc90703a1d6 |
|
MD5 | 1a1472d2ad489eb31a6deef3008a6897 |
|
BLAKE2b-256 | f2d19d160a29be0d1fb6121d34fdf82255af81b21c01ab5cc68753078c79924d |