Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
// 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'));
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.184.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82547f707e95a06171821913f91616cfa3f0c2585c639533c8153ed5a80eb4f7 |
|
MD5 | 0465f046162eccb8c71af47b88e1cdd5 |
|
BLAKE2b-256 | 6bf137ca36237fd7ea7e4c9f438f328d8f632f4365857bcc11708e4a505976d4 |
Close
Hashes for cdk_lambda_layer_zip-1.0.184-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd8b589d4acbf8d2967d04d599fb60762515f90af5e438f87ba4098abd365280 |
|
MD5 | e4456cc63ae5dbad94b1907513641bb0 |
|
BLAKE2b-256 | 3173fb7a2110556c3d172cd74d0b87feaf55bdd5fcf0b130c6d196bd1a52b23d |