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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fae44e0336c13e4b9d875041f2d66a15bbb99b02e3239acfa1d94ffbd5686a63 |
|
MD5 | 6237911d5fd3e77a4816da0c04362ea8 |
|
BLAKE2b-256 | 87a257e7ce05c7e6c328fef88630d118f06b844c5f9129bb543ae6e4f79cce2a |
Close
Hashes for cdk_lambda_layer_zip-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 947de1f9211eaa9c9aadcaea0b2ab8fff6e765b6cadad6b3c5921c14e148f232 |
|
MD5 | f492a550acdde6ec0a98ae885db5cb9b |
|
BLAKE2b-256 | d9f8b2f2d62846c9400eefcab8d49e32535ca46c0a255d5fa6061beeb443c0e1 |