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.362.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbaa5d57688edadc4e4060988cbf0fb44cca1f3c21bf9fa142ddf5114ec12fc |
|
MD5 | eefa9850a860aeaa7ca1ced25632305d |
|
BLAKE2b-256 | f6d49aa3297b6162c68d6bd53ea83c9d26db25e7c61314c688de4d0523f91e03 |
Close
Hashes for cdk_lambda_layer_zip-1.0.362-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cea18d078193a81a747fc27641b55b70c95effe503626c9926a87d36bef6af42 |
|
MD5 | 205456f5e312346e33947adad9be3744 |
|
BLAKE2b-256 | 827af58e89c68bb435e8d95f0e0122fbb2310465185d6558c34a6350ac92b165 |