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.184.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81a824d40379d63a4998483930e80d41d71e3db1820a7aa346d92cca28b38e2a |
|
MD5 | 1fa70e194a6294183cc5fca25a641b7d |
|
BLAKE2b-256 | f6744f66b2eec2dbf0b499231c729356d7850a1cbc3c0f01acd165b217c1c582 |
Close
Hashes for cdk_lambda_layer_zip-2.0.184-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154b25f3267f0bd5714a3f133838c91c3fd3f75873088b010debdedacf1614d9 |
|
MD5 | 747f612fb570420df1f7ef75575fddf2 |
|
BLAKE2b-256 | 617639cb6ba47836edefc0a8135d84340442447c9f3304be6fa3ebb5ec785047 |