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-2.0.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b789d60d0b8e6adba5024cfd15d41c9d35f7d3480cf99887ce6ed205fcc466e2 |
|
MD5 | a7ba67e14d2d0855754f699b1bc2e63b |
|
BLAKE2b-256 | 3ca9d4f64c61ad61c517244c0822636bd804bd89e49ab65381285af9984f11c4 |
Close
Hashes for cdk_lambda_layer_zip-2.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b477ad717064dfc01268b8596199ea841fcfa1edd872721175855498ee6adba |
|
MD5 | a362e2e4eab6d8f7a9a3563a6406ecb8 |
|
BLAKE2b-256 | 5aae16c362d26d9f4b6b6fe2badab8397c68588b936b138f70413f688ac5aef5 |