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.34.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c459c9a1c3eb30664f1601264ce6023b165214baba874dc1712aebe4004359 |
|
MD5 | 8488803bdb106aa4738ce305e98a5fcf |
|
BLAKE2b-256 | abb73fad26e79490289353909955aa05164a963aed33b89083fec87ee199c733 |
Close
Hashes for cdk_lambda_layer_zip-1.0.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58c5a970d9728ceb25b2875c0973faee004e95a1d53b6a815b59f4434b5053bd |
|
MD5 | b27baa6c7fb72b64fb8d8de1feb7974a |
|
BLAKE2b-256 | 2f37b1eee2efcfe5b15f54f8a133c794c33d81c385f914a92aefd8fc10698256 |