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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d8f52c1b3c04ea6d6a93215083c1482b0965c45ebb3194a3c956d25f4ebcab |
|
MD5 | 5faddc840387c62b09d239f5ed3fffd9 |
|
BLAKE2b-256 | 5292791dd3ebb6e7d113ba1e25a082de67e02da2e788a78cc682d321994a86d8 |
Close
Hashes for cdk_lambda_layer_zip-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e95c5fe3f4f87f0c28fb83117796328855d4afea522fc6079d34da94f27f118b |
|
MD5 | d7e64bde75ca197a610c519370a20729 |
|
BLAKE2b-256 | ea08d0a5dc785f117e4a90a9622959e8c23aee5e973e22e4addf84b1578c65d1 |