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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea58a48bb3c508a8e5af386559b51f98bf66f9987df2c18673191f6ec3c637a |
|
MD5 | d41023e2e57e1782a472d3e37e776879 |
|
BLAKE2b-256 | f3ac9f05ffde2674a0eb2719d946c1010c3045e0b4213fd3b193d65abbaae783 |
Close
Hashes for cdk_lambda_layer_zip-1.0.151-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c79fbe3acd0ce7c7077dc57c706f27a455d9c5c14001e2970e454eb528f04d80 |
|
MD5 | f3168ae0e7a3835cac45da587410b1fa |
|
BLAKE2b-256 | 773974094b0bec230b9d5e9f32e6b0fbd9a8370803aa2bdfaa8d67125e07285e |