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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e1cd55418a3dcdb4aa52ce7c2f1c703225c38ad06f888c51361f464b6866e2 |
|
MD5 | 6f1ca1a71dc6d7171a10a607e4b0877f |
|
BLAKE2b-256 | 978c05ed162eb41cc5d16a8ab3edb7cc967f11da59f69d54840b0c45f4ffe4d0 |
Close
Hashes for cdk_lambda_layer_zip-1.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104766d88559a6232a906b60ab3c2b55564e6def7167131307641a6ac2401b2d |
|
MD5 | d0655fb8a5a2171721b36bc6983b0a6b |
|
BLAKE2b-256 | b608fbd41e3886d43c49cb149bf3b04f985b7b278685c3d83d4a0e840ad346b2 |