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.128.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15ab146de48106a20f1ed68c088d4f19fec8c732ce4cfe666f355defa6d9b4d5 |
|
MD5 | fb2c5fef4d2a35f2ab848c361e31ab67 |
|
BLAKE2b-256 | f39c7943a9740a9246e4d4fed3b0597a574dda7be958e282698cc87b7899a6a7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.128-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c811212bf2f2c44f824151d6969747cd17688dc3914eba10af0981a2c8189a |
|
MD5 | c65e1c084e610297f6de6703aed40cee |
|
BLAKE2b-256 | a7821866b9c686b5f943893240d5a68073bab3bef32d1c4c6e18c0fcdbab5ce1 |