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.46.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7961ba5f48e1b58fb8935e0ffc5f85597ff70005983bf57d14939dfde4fe574 |
|
MD5 | 13ac101ac7c0230bdcbf5f1df48f0d28 |
|
BLAKE2b-256 | 197112c2662e3585e24a1163da36504cb9f357b03afc3f403632f03b5f1f709b |
Close
Hashes for cdk_lambda_layer_zip-1.0.46-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a00d0036b6ff8ce4fb9ea054a7665bf0170558ab1130e20a7ab842fa796891f |
|
MD5 | 801081e226511a910ec2a3be195bde90 |
|
BLAKE2b-256 | 2a71a105bbe5bd72e4f9b5d8f9a2013d39f03ea0084dd19911c49c15d6eadaed |