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.268.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f90544ee3f00bb8b85f16531b3ad056249186ad92364650b96e5a4997c850be8 |
|
MD5 | 3287ec0ef6bd036b9fa1cca29271bd6f |
|
BLAKE2b-256 | 56076c0f4c1f2106a347584f60fb23394398dd06161939deea6fa3bdf1d706ec |
Close
Hashes for cdk_lambda_layer_zip-1.0.268-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4651e5fd05b3eee9d7666cdc7b4775ec59b4cecfababcef7a20a38039b7ba537 |
|
MD5 | 78acd5ad846cfa047c1cf6528673f547 |
|
BLAKE2b-256 | 7d3c0c63e3d6ec4af55757c74c54b88393d357633127ed998707a88f982ff390 |