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.279.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25dfc0b3ceb5fe4649722dc143379a9f01c6f3b4001a5098b8e1c943228fe755 |
|
MD5 | 945efb47e0786d931aecfca4ee3c4289 |
|
BLAKE2b-256 | fd07ed919181329270a97dea624e1b620a1f6522dd2827de39b31782538a46f4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.279-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 316902a2458871c35ea958d0a20b279373448d9ecb659fa095ff367ddfa781c2 |
|
MD5 | 53639ee588fcb61b40c31332ad1d09dd |
|
BLAKE2b-256 | a574b90164d0a1c31246b5bd70949ab59faf480718eb17cef9dcf4dd53c1a809 |