Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ac8ee0c2a2dd4070df29375fb61b306dec9b992c5de3b6106c3b5d2136c8232 |
|
MD5 | 96e53977deb7745587d656e6c6230e80 |
|
BLAKE2b-256 | a5a59054d01d3a2aac6ddf549847fd08e0c35e2372707f7204475d6400037970 |
Close
Hashes for cdk_lambda_layer_zip-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ab0202bf67a04e4b2bdd7120d63945af97434b361955078a3ff7f2f2385911 |
|
MD5 | e97a710f13c83b724906953ae70bca44 |
|
BLAKE2b-256 | 4581c126d246e0badd94ee7dd8403d6969558fef4dd26bd9e3bdb0259c8f801c |