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.373.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7c58399adbdb486721f2f39c4f5f4d053296e8ec9bb6131979017bab60295e |
|
MD5 | 1b854450bb7cba7da29747f9c85343af |
|
BLAKE2b-256 | 674210bb175695d22e64859600e4a1feed5ef023160a71a325f9f2050a9d44d5 |
Close
Hashes for cdk_lambda_layer_zip-2.0.373-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c2f16008719caeb9f53ba6544c961711eff9f08beebbf53ac2140739e8f323 |
|
MD5 | 356474ec0e968da1fb4016412a57afb3 |
|
BLAKE2b-256 | 37c7e6184f02ce277a2a4a226b064794a6b9eeb72bc6e41e1018abf25c72cba1 |