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.335.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e64ed9eff485255c5fbbea4325831ffa71e7f8410e6c00701ee87d7f019c3f0 |
|
MD5 | 3da2c9140e578a87f5b6f08ad6a5ddb1 |
|
BLAKE2b-256 | d6cf2208269992f9e72ba89407fcbc1a80c4700830ca797ba2a51a3497ec3f50 |
Close
Hashes for cdk_lambda_layer_zip-1.0.335-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ab20d12a1e5e0b8ed357fd1e08de8807134c872ece2e46e0f266069335c2868 |
|
MD5 | 18801096d072e8f2348c6155fff0d386 |
|
BLAKE2b-256 | 3237f73f40ed2365637a625db970ec55f656b366ca886d51c80af117b87663e9 |