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.317.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7582b36c0c9123d4bcfb9a26ca12262a10dd54ecffdfb46528f4b0ad9d09d2b |
|
MD5 | e165bd79489119d73331c57e71876082 |
|
BLAKE2b-256 | c512c4e2b62d7ca42fed444ee34d1b0ce30119b9e1a8eea938c988edaa7c4b82 |
Close
Hashes for cdk_lambda_layer_zip-1.0.317-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716b8ffb98b6b340a3637f63b355f58acc9b547a3b015a564cbd1b4304b5abd9 |
|
MD5 | 8623e2a696615a1b0623b7516b12b4a5 |
|
BLAKE2b-256 | cc45d8b1018b421314ce2c089c069afaa436f65ee60f9786eb8a30f219e0ad1c |