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.216.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f54894f7186c18bdb5592258eb3a001386e205c14366af760cb87e6c74762a2 |
|
MD5 | 9de2287adbdaf60b552b637b1ac3700b |
|
BLAKE2b-256 | 3144e00e90c5a113dd7cf9f3793beec0b5deb1eba15603fcd7277b9f95b67bfa |
Close
Hashes for cdk_lambda_layer_zip-1.0.216-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c568b93c1fbe58377354379f65d6a980dff6c27a6a97462468c627f0e002bb49 |
|
MD5 | 245d44c35c93782cad9a9c2355024883 |
|
BLAKE2b-256 | 126c4fa72d51bb92761eda25df08fb63e953455b3d009493736e6dbbd1f508e1 |