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.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | faafff8d60faeae3fa2fdffcecb97267b5ab53cd322d1b7fcdeaeec3598c381e |
|
MD5 | 6a49e1aa1638deed31a349df2ce8a9a2 |
|
BLAKE2b-256 | ebeb4909711f40963c635373d7d740931b7e67fb001a97cce46582ba8526b6d2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68409444398016264e005120847be07f196e78c1fdaacf96d65e72ba399706b7 |
|
MD5 | bfc98978c203844c68a640a171529795 |
|
BLAKE2b-256 | 4b254e52ffde36a947c16ebb94cf3ac53b5bf42dd71ced754a963124200713d1 |