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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db806dba503b8dd9f35d3394af33161d24eb7ebd51482104ee226e38afba8fa8 |
|
MD5 | 1c8af6ca390ec7cb0b97f7ab54001fd3 |
|
BLAKE2b-256 | 26dd176ab5cd4d3751f0864de9333f228c8a8132aff1b1b57a49aede0794bec3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ffa3eaab5435a34787fd0f5d6525c6c6af0fff679856445f3e66be011eee492 |
|
MD5 | 331a5a2e1bacd9f68b26796de2aa36ce |
|
BLAKE2b-256 | a5ab8a2ec9bc6676745a470f21a067158d75dcc49b0156c74a5697840cdc3768 |