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.344.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85465fae09aa24bdefcbcfc59662093fe1ef32d1e1fff9e5c2f7d7e8aa4728ca |
|
MD5 | 41a908c0d1baebc6522beaf009445b04 |
|
BLAKE2b-256 | 78e78e93a439c7ca7f385e53846a97b4d71149fe63d48daa4d41c146b963e4c0 |
Close
Hashes for cdk_lambda_layer_zip-1.0.344-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62520d551a8c96272232be4172533f535708509f73706143d95b8c89ab28ecb2 |
|
MD5 | ed1759358b52c0bb57516f3589d8fe97 |
|
BLAKE2b-256 | 836904d0912816984dc077a528429aac8e7dec004d88facc0f338703d7244bec |