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.396.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61c11d33f9fc2b416b30766d3bff85573ebcdd7c88a9e712efcfa434367792a6 |
|
MD5 | d26204731fa27b532280ef7addcf25d7 |
|
BLAKE2b-256 | 4f8e5f671479fb7ca4e437f383db20d67a66694bca050e6277b10751875786c6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.396-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86cb255a529a7979f5c62c1811d3e20945f39320708e9fd7cc957752908a7a9b |
|
MD5 | c805abb3f8d3f5a8d2d31cc480175b51 |
|
BLAKE2b-256 | 6faafa0a74077748126c5d520baebc1e61180452321831804a3455f8ededaaae |