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.193.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c51ddd956ef8d1c55ec71c34447a87da995cf9d4cc14c5980c212ea2fc8a494 |
|
MD5 | 375513e165043a740d14eab28fb8576c |
|
BLAKE2b-256 | 9f3e575e72088c31d13dd34a4efa6e4abe75aad74227175ca8cb40f824e2618f |
Close
Hashes for cdk_lambda_layer_zip-1.0.193-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94f04a1726811d9e809877b7f669c502fa8cb4e43beb16ffafd1f2bf86a2465 |
|
MD5 | c8a361b00a872b0ef893ad68d789290c |
|
BLAKE2b-256 | 2fdfaaed363d8bf7d03bba463c0d2c0481ef0cb44f0c88f473ad326be81545b5 |