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.166.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257a0688c9792dcc78ded554d697aee2d709ff0361dba90d6ca86e439799c879 |
|
MD5 | b602da9a4e0d04383543cc88d6c5ec1d |
|
BLAKE2b-256 | a6349507d32d0feefd755b4fcae9163f4962897ba01c9c8484d33f7ef097c397 |
Close
Hashes for cdk_lambda_layer_zip-1.0.166-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63201cd84f73d21241a75cc8388d368d83f094fa1ec41bed70aea5b680fd1a30 |
|
MD5 | 62b214c5c6de7b73ca3640fcfbe8129b |
|
BLAKE2b-256 | adac9246b4cc0bfb38229399e9132780120c6593987335869ac8140d1502ec8c |