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-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a117a74d71229624f0c2cea36eca4182558b060243176a49bde422edc22f3b |
|
MD5 | bb205eac6e72f92a3d41d533290b7c89 |
|
BLAKE2b-256 | d35f0195740bcf0a19c96eb0921c16c79f2bff1872ec227eb7ebdb42cba15180 |
Close
Hashes for cdk_lambda_layer_zip-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e426b914d32db577db214c54f690a54420357000ae3a00d1ecb635b22f134fd |
|
MD5 | cbff82e23d2dc3d4c88e3c6dd2608087 |
|
BLAKE2b-256 | febf0602f29dfff21a9c97e44cd018cba52aff93284e5c0e57f8cca1ac8b285e |