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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55852672fe5fee1e456abef772c06241857a860dc9f89bd16af4f6c2f54b8a3d |
|
MD5 | 4d6f64178017c5a445c749dcd3307da1 |
|
BLAKE2b-256 | a5cdd3e1b0d6194a62d82be24c7b75b1bf21446f0bffd21d6f2e6db2eb14413a |
Close
Hashes for cdk_lambda_layer_zip-1.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f37d964a1d4dc4a0a6a3d4dcb332dcab62e8900e8883ff1b57b043fdbaec590 |
|
MD5 | 14d5d0546539d531060421aad613ba7c |
|
BLAKE2b-256 | a47e8604a77db8b08fb4669cc0faf025cd88bb479ae8ede3bc4c2c384f9e6f88 |