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.343.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348198838d9766b83b2acf46bf3a47bc11095a88def1638d9dbc5d78552c2e80 |
|
MD5 | fff6fc0cfdce73d701d92397ea028e2f |
|
BLAKE2b-256 | 5b2701338ce8d839bf122538652dc3ce632f4182b51950143e37b23726f2510e |
Close
Hashes for cdk_lambda_layer_zip-1.0.343-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc3b37929e9a950ee529a148174f49e4a9ea34a1b547422bb51afd4c64764d61 |
|
MD5 | f737b9cf371970c42541cca950673556 |
|
BLAKE2b-256 | 2afb67ca457402b698fc59a16017a08e561395ae45a358bfd0c0bdbcc4035f3a |