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.173.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f098b97328662252aeed74ad13ef2530104150bbe3380fc98617c66997f4a7f0 |
|
MD5 | 0ecf2e822f80ec3d15f517c2f17ab6fd |
|
BLAKE2b-256 | 6f04dc01bae9f2eacc485b69bca627ce6aed4675304f96be732205aa5e2d8da4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.173-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba8bb415f07376f14c39db612eb04a9968beb292e36b924e9c3d3859ee7e4a1 |
|
MD5 | 2b490c127318e30684e969ffc167060c |
|
BLAKE2b-256 | cbc8703be96000f8b8af572fd9060cc5229e44f8ddf60c68f0d698152da66c2c |