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.288.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eedc9e777690c60409ed34187a841edfa68bd23b60bef62d26c5da9637ce7286 |
|
MD5 | 2c931ef65a719d8bfd1247b372850d5d |
|
BLAKE2b-256 | f1aaa48c2c8535f220b3033f0b64d373dae938cbc07de0f9db76d858a8cd2e0a |
Close
Hashes for cdk_lambda_layer_zip-1.0.288-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec7f787d327018e2931ff007c092d3629ceca7f4a138c5c456010c0e10c1bd9 |
|
MD5 | 7cc0253f99a9bca17a2a019fee801c41 |
|
BLAKE2b-256 | 2286858225cac997f6da1e97f2b735819b7c10f78d4eef5119f0a12abef842d9 |