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-2.0.335.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c076cbddbe07b2d5fdb0863900549e732707cdfc42bbe060c70a9baed9419962 |
|
MD5 | 58978181299943e20ba44807d7d52648 |
|
BLAKE2b-256 | 719e75e02d1c4c553380043d9bb8c244f0f2cf179f2da64fb7913727a4a3cec7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.335-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db949de37173ba58effac8e97cabd5b5c7b0c3f1755c0b43f3f771e93b8ad8cd |
|
MD5 | e394f59a892c13208056d3ffff10b133 |
|
BLAKE2b-256 | c87a0461621a3f7d77f29a135d42f0df1274428fc42dbcb8758f4ce0a40f00bc |