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.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4320b30e8a71563cb1b07430ef52647ec3d4c24731b2f7d44f3cfded1418abf8 |
|
MD5 | b64e8e5205b47ee256cffc85049d455e |
|
BLAKE2b-256 | 8b1f7084063b88e3b1e23bf3e0c8c56c6a562818686ccac8c0eabcc2c0c7b7cb |
Close
Hashes for cdk_lambda_layer_zip-2.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38dfbedbb8d4d067afc97618419c005bfe0c865bd452c71c0bcf7198ac3c7bc5 |
|
MD5 | c07d8149602ae3f0e49a206872fed73d |
|
BLAKE2b-256 | 63afc6e95ff2dfba30cb31e74ab1c4d23bc423574d0cbbd2def401617b905d11 |