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.307.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22a8538c0c39f49bc299ca6212b29dfef072e9d4448061ef0ce2fadf503c25cb |
|
MD5 | fab1c8d515e3495a821c4f40981a3e26 |
|
BLAKE2b-256 | 1a3f1a69f516f737bfc8e2722c3d27b57d87956eb84037902381627915eac67c |
Close
Hashes for cdk_lambda_layer_zip-1.0.307-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71f7f5d0b0def1ca7a15151971857e0e4a07aafb6541b4023e5a963533a13435 |
|
MD5 | 3dc7661d363343652797280f8c6f7864 |
|
BLAKE2b-256 | 1f691a2823b4275316d5356afbf68e984d20a0d6c5d96c1596e73e92d7f7f22f |