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.187.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14653baac71699bc64c77d925ff53f6654cdc1e29fbad5a8f4e086d17c7f93be |
|
MD5 | 28d84d273c8028b0a88739f32781bfa4 |
|
BLAKE2b-256 | 46a3c4c743fed707e559c6c4b0e0d21076bdc80ed8b4ef286df6a3ac80fdaabf |
Close
Hashes for cdk_lambda_layer_zip-1.0.187-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 431084bcbb3dcca971a800d9218ce39325ee7f1cfcc2480e4bec91ce5f1dedaf |
|
MD5 | 387e75c073daa50ad363f8d382f131c3 |
|
BLAKE2b-256 | 50893cbb08e21bcc98ec259cb7715e86e4aa9fe4ce11a97ce4cc6bf51faf409a |