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.209.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf190b5e3e0f9a5c789dbd5872a737beafcb6b3dbe5242f899a462885e49f1e1 |
|
MD5 | baba6906b1d2fe47a34cb28da53a4267 |
|
BLAKE2b-256 | f21c09a97085c34919e5c4228559295eef1d764831e355986dbff255c9396894 |
Close
Hashes for cdk_lambda_layer_zip-1.0.209-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c0582cdd6d679102a75db21fec49dfc24663ceeaf1ce287b1b81c2ed7a3975 |
|
MD5 | 3a735a5f406873a7fb57e12fab03ba2a |
|
BLAKE2b-256 | d2070f6da80bf79fb0b9b2c63e316910e0fc3e7f0deed35efb75794e72b9d3a5 |