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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd2782bc746b69b322a3b2da9f471f7331fa93b61b62eaadbedf20bb6f815f09 |
|
MD5 | fbe093e353989753c8027b32f05ed1f5 |
|
BLAKE2b-256 | c130f820762e9a1c3244e150e9aecf6b6e54be74bdca4cfb7f399b69f414908a |
Close
Hashes for cdk_lambda_layer_zip-2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68e23bff95a10a67db3fb423920361ae2b8483e3f018951f85e1a667195c7c42 |
|
MD5 | 4c71972c3e16e89d0b5088530d60a281 |
|
BLAKE2b-256 | c7db1d519b358577f6af59e058706e73efab60217cc19f4afebf06b46cf1a8af |