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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4df75c2bd1936aec8aee8c995c0da9eb4543d8d110b5f44c7e8d8022b671137 |
|
MD5 | 862a7bfd8411b1fbea9f237c6849f1ae |
|
BLAKE2b-256 | cd9e72f569a2e128f672436b17485ade532adf060b21099bc78e43d630d189c5 |
Close
Hashes for cdk_lambda_layer_zip-2.0.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05a50483e628a5131cbfb536c66cde247eb17c9a801cc141f79c0e4fd0c31fcb |
|
MD5 | a764f29436ff049657c942e6e4f1b2c9 |
|
BLAKE2b-256 | ab9dee6aaf96d800b655cbd776409538f1982ea25e8012604f7c4302fd1ffeb0 |