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-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4287e8a3df8c3108d8a800318b69eb1c8c8d2efdbe6f946c2626442481fe9b9 |
|
MD5 | ff2f0253c87eef1ce36d046fd312ed2e |
|
BLAKE2b-256 | 8177b760a6389f79332f189bf637b707b4d16e460d274759777f9a5d82ca0a48 |
Close
Hashes for cdk_lambda_layer_zip-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f5648d070c8b0e3c5f156c6928b80038188b92ef42c84f53fa4dfbe1e4e51f6 |
|
MD5 | 3c522b8d728f777dbb304bf143189b10 |
|
BLAKE2b-256 | 0620917eabdf096d4b9b789c2bf3ac1b97d3f8bcaf4a9725fdbe9b1277178d9a |