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-2.0.286.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac5365f1dba54624dd2d8e558615a9b428465f9da834dd2566e8e99a2419cbf0 |
|
MD5 | d6a3a5485e021a355ab4e7292c431440 |
|
BLAKE2b-256 | 2972b7ba0ff0df0d625a2df941a1148df8a7532bdb963385afcb8b919aebc823 |
Close
Hashes for cdk_lambda_layer_zip-2.0.286-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18711d77a6aa1081c577dfccad6ad04afa85d12bc2ec18e0f6eb31bb59cdec88 |
|
MD5 | e1416b7dac2f13895647eed465fb50e7 |
|
BLAKE2b-256 | 447129f32e0b1b34dc95525fe47810742edc641089b0d455345e19c0f1eed394 |