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.50.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 714b3da5c23d3a86bc78fea9c6b9056a9db3209140e8a79686c996e69b1775b9 |
|
MD5 | 9cbba80a7f283216faf1b3a1dc02e076 |
|
BLAKE2b-256 | 52e0ed4d6f6103aeea7ac98875ca593f183de5d31b67dcc542ebf7c6efb93286 |
Close
Hashes for cdk_lambda_layer_zip-1.0.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fd7d4e9cde5e8184b2c44631ede9c56f524fb2793ed6e5cb9d2857866d8a55 |
|
MD5 | 4c9fc1e995b4199ba61210b7886c6e34 |
|
BLAKE2b-256 | a887d75dd8a9a2ab57ef294b9bdbbd57fd774871d3ef595bd6c6f330a86d3205 |