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.258.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a09b08b469f58f4029228293252ef562c4bdca3e313f49991ec84fd55e9657 |
|
MD5 | 1bfb9a9263105253751e5805f6d00257 |
|
BLAKE2b-256 | 2420bef81a8b4bedc61effc20ef8297a9fc8eaaf917931095ab5c5de23199130 |
Close
Hashes for cdk_lambda_layer_zip-2.0.258-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a741d14cb7b6a730ac083ed9e953dc38f7be4380ea797abfba98c6c4716dde4 |
|
MD5 | b96161c78a4a660183eb5765d474facc |
|
BLAKE2b-256 | d5336ebf157bcb3787fb16b26b363e978b6ebf180cf95fd104a5cfb0d14d3a2d |