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.336.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7209f34f621df6c5c9e2b79a7c84cdb9a4293e14ae183013d8bf0099ece04ea7 |
|
MD5 | 04ff76ad478b63cd33cfe3ae704f80e7 |
|
BLAKE2b-256 | e099f83ad7bd3bff617c1848c58bb0e95f8dfa7f83ad6138f8abb643c23b6afc |
Close
Hashes for cdk_lambda_layer_zip-1.0.336-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1dc828cddcf187b76cca75ab620d408ae99779cc41c3f8b2524bdbc12e40529 |
|
MD5 | 1526eed6387052e4b30960f26af8e7ba |
|
BLAKE2b-256 | dfe4031cfe85075ade56932f349389c9bcc939465b3484b0548f71d37fd80dcc |