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.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c517c15d0dc14591b69ae8763d0e6443e49cd9bbcd6c4a5d4206e2f3e55e79 |
|
MD5 | d8d1f07628034de4769dd0c6300daeb0 |
|
BLAKE2b-256 | 1d792ed5d35cf99a9746b05e04ee6dde9480d11a2e7c4a0e83781288f2d183ff |
Close
Hashes for cdk_lambda_layer_zip-1.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d7e065535d65e11047e198babc8580161b254bba12e3f504eb32648f290b68d |
|
MD5 | 767de98902b843eeca39c5ac7f8db306 |
|
BLAKE2b-256 | 92ed98086f5ecb5442b4c8bcb34fb6219abe02da7a0b164663d70a8946573c13 |