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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1be0feda4ef21b18fd79b27630c77f788f609d14f53e63ab91188e3141dc6cf |
|
MD5 | 953e81d5167fb3bf5d4ff381d72a2e80 |
|
BLAKE2b-256 | 17fc899bab6280e804bc89b7addf9bb3df33e6f74c027aee041c8f177ea5d638 |
Close
Hashes for cdk_lambda_layer_zip-2.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f43d990c223d319f8e026b1b34c76e631f3914e0a0153cb4d67a112b78538e3 |
|
MD5 | 5d90f3d5f739159ffcc1dbeb76318d22 |
|
BLAKE2b-256 | 09204d894a8e3907eb8af99a5b6aefe3d50cd8871db691bd37015c7aa12d2b47 |