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.109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74596040e23b29c1040dc7524b5d39963eb7f726fc8659aae4a8f1724ab417c4 |
|
MD5 | a82c09340be3478031173dffa5316b76 |
|
BLAKE2b-256 | 325404585fcdde0be172ab2ecb5b06d02120a9044aa5bc90ce0fb3f3e66351db |
Close
Hashes for cdk_lambda_layer_zip-2.0.109-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5961f76980e18989644c828702d0066106ef1f1afbc78ac546bb59adc95c9efb |
|
MD5 | d5addb5d791784452b79f6215ef12ffa |
|
BLAKE2b-256 | 6160736b1e9c97484d6ecc666bf0ef0e94c0f0c93a8acd2ca57e3c1f00f28b74 |