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.363.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd57c0aecd1359b00976ce7900999687f33a306cc661cf1d3fe531815a65ebae |
|
MD5 | 2a227bc1419930c3d7e05f85cd062efc |
|
BLAKE2b-256 | 06976446748e6b212889cb423073593aca434516f1185568e85822677823d82f |
Close
Hashes for cdk_lambda_layer_zip-1.0.363-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 344f38288242ce5213bd4db7060c934725004305abcb20b6f392a2c235e9978a |
|
MD5 | 53b80426147c2a808b57d8a72965c7d4 |
|
BLAKE2b-256 | 7ee4943ca1a593079d26d7f929a4c9d556a8ea32baac7776c2fbedd0b75153a0 |