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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f16912d3adf2a5f00f82e32d4abf7605318e1561ad7117ca59cac086d10f2f8 |
|
MD5 | 2401668aff57b83e10bba98fc93a4ada |
|
BLAKE2b-256 | e16066d7fb0818c33617313278e8e6bd64af59ff6081a64aae6e5d8c01ad0f04 |
Close
Hashes for cdk_lambda_layer_zip-2.0.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c113a7cb0e253059f937395a42d6ecdfab108e829a47a5004dc0c7e6143686 |
|
MD5 | 7a0ea1638e8945c02d9851bd55a57a18 |
|
BLAKE2b-256 | 520839384e1abfde28ebc8f55e29286a04a1caf92f86e60d153b419c3846d8e3 |