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.141.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e71e442872ae6a077dd140084106880ee437f33503f519de7a9a518bad6b15c8 |
|
MD5 | bd1cd095e52ec191b02daaa8ef0411a5 |
|
BLAKE2b-256 | 78ae5f38711017c9eb632acf28c70dc97bcd2318b9ae5bb7af86c813068c2f34 |
Close
Hashes for cdk_lambda_layer_zip-1.0.141-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5c8d63a0fe98f5ff8b9bd0fd223ea387bf19898ef451edac24640889f4efd4c |
|
MD5 | 5dd23a8e85d44c571d6848ddefbacfc1 |
|
BLAKE2b-256 | 9edb4407bdc5980fe8bae60fde4a5b3295be5bd700aa1ec803cfebbeb28cd2fc |