Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704512dd1fa643b7a04b5cb7ade6f1cd128da07c33d8bb6bdb8d1464e88025d2 |
|
MD5 | 523e066a2c50b982fc7e0a4124a38b01 |
|
BLAKE2b-256 | 012ddc77a8d56f13f2c9f058a59b1e273ae22f2c24b736be2f45f26cc0d40d2a |
Close
Hashes for cdk_lambda_layer_zip-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f4f8e52a94841cab1b396878ad238306568b9c2e335ee5186c41a4bc5b7d1f |
|
MD5 | e9c8702f99d57456be61f4bd2f426187 |
|
BLAKE2b-256 | 2246d95e8340533ebcedb3f4189ba5240abf2ebc22f6b613bad680ac4504c5a8 |