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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfe5f1a0898db993963bfc480e2c5e955256243f0c825c9f4d34c39459c5964 |
|
MD5 | e7cf02aeba77b7c329cf794a0a1f9002 |
|
BLAKE2b-256 | 3829fd7496e0dc562b4afc62fe5ec9bf503222bbb6dd5bebffc315e47d5464b0 |
Close
Hashes for cdk_lambda_layer_zip-1.0.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eca7771f94bb510aca9a94ca664a5c9178c814ca99e12b84f37240db35da0ba2 |
|
MD5 | 9648c6a9059961969ef541e33e1ca0d4 |
|
BLAKE2b-256 | 8ce0b6ce970f431a86a2e246345da6ebe6198b3766350e2a76468ac5c57c6275 |