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.304.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b70b96e5dc9fd3a0503caf4eda96d59048e9b1d2f6dd5aaee306695905dfe175 |
|
MD5 | 5b0d6c398d94a0bb776abd490cefa4e9 |
|
BLAKE2b-256 | 126af58fe4d505f5f41c70cde325944b0693cc1ee16c836c76f2f98bc2440a4e |
Close
Hashes for cdk_lambda_layer_zip-1.0.304-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9279325ed5c31952bcf20b12bc3d97e764b4ac733ed7d9e03cad9505ffd5ef7 |
|
MD5 | 7496ff749f9fe5940aa5660a7894d859 |
|
BLAKE2b-256 | bf7267822a2aa4fe3ea03dd2c791e390c2323d39398a09e828e8661c02862add |