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-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3972f7a92522dd2fb56a2b883e63fb0dc9a6f0a619aaeb3ed89da385d26007c |
|
MD5 | 2d539da1f075371c34f6a1fb32e26e20 |
|
BLAKE2b-256 | d55f3ca647cece6988a1f268edbc08188660cac612ac592be17d84260a6643e4 |
Close
Hashes for cdk_lambda_layer_zip-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467da15422cd36118aa9e8c54ef0c422f370196b20e6438feca22d026635951c |
|
MD5 | 4a9a6abbdbcbcc399e8e02b62964ee17 |
|
BLAKE2b-256 | f3e8d2309992f658b882ab8b318e9be260c34940130c86537cbe0688b14f8ad4 |