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.120.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f68615b6795c0999d7629c781c12bba8db6eff1aeeb4b8583b2a93586fa00537 |
|
MD5 | bcd98f4b35104644554f49a2c9d757d9 |
|
BLAKE2b-256 | b735f73a1986fa3f5abe64ee553d74685f201d02c1c223ab1348d6179e49c699 |
Close
Hashes for cdk_lambda_layer_zip-1.0.120-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 987ad4e44bfe27e3846b652f50cff5024a2fcb438a34b79ea4b31306e7b7580f |
|
MD5 | 793ba0a7bdf1fff01c8d8fb52631b7f5 |
|
BLAKE2b-256 | 2aa0baaf0650bab4e0ec948cabf1ab9b67350e70027ffbd5cbb219923e314e48 |