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.91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f8c728b64a4f26741c2a79d3e2b90ea00a53ef0c76a49d06693816a4f94516 |
|
MD5 | 52dc327c0d6ef8d171841d8703be6d53 |
|
BLAKE2b-256 | 6065a19ed48df2281e9447911757f2a5de10efcd32223bfc2147a485aac3035e |
Close
Hashes for cdk_lambda_layer_zip-1.0.91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5801b5176e8b4567206724f9c0f52284223b12e6293cf96f036b3a2577c7925b |
|
MD5 | bdfa6ddc9d656de44d7e8379bbcc021e |
|
BLAKE2b-256 | 16ab06e630b1eb47eb0fece6ef4bfc0ba9a9206eee47a6c6034d7bf7d4a56aca |