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.49.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff04795da1d05f14fc838b54b78f3b02aa5f9735c2a3f61122b9785e9a3b047d |
|
MD5 | f7dcc8faa05d228cfa80ef773a303ee7 |
|
BLAKE2b-256 | 5dc1095f1d6750f1f037fab5120698f88462d0d4eca4b9579ac3aa4a3361e89e |
Close
Hashes for cdk_lambda_layer_zip-1.0.49-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361720f65bb61d639ba8d64cbec926001e6d787a1dcdf09ff574ca2aa78a136f |
|
MD5 | 2ec3c55a8a29a2d1631dec2ec6b1f7c3 |
|
BLAKE2b-256 | 0b6971a7b804a20c5db3f1aed2649d33aefa1254729686f08908d779b7fb8110 |