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.283.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b2cef79b09a3a4908bc12ab518406ecf1c3496d2ac8b1ad64df3869a65ca75 |
|
MD5 | 371707b139f1e198122ea004781cdb05 |
|
BLAKE2b-256 | b0f85a74afb1d846b9537309ab9ef4a79b1b113d6a6cf34324509fd7d57bb7b2 |
Close
Hashes for cdk_lambda_layer_zip-2.0.283-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0b89d1b1daff3bcee9e5143a60fbeddd3e02f6c24013fff0e26faec91310421 |
|
MD5 | a5aeda00ea6eab56f735a4ddd1bbf904 |
|
BLAKE2b-256 | 7facaae77b7a395e5a1863d28b77d20279cb2ec28d268b097b03e83a8f56f96b |