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.127.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1024f8ee3914709b4ee468bc1954f8ac6e314f4dae355c5fd47a31040fafe81 |
|
MD5 | 17261c6292a3cba87609f05d1207fd20 |
|
BLAKE2b-256 | 07e1e59f884329baf68888345a0c1787dffd09b52b9e0c747cff2206daeb7bc6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.127-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b8834d753287c96b41a4e507c231a388f48c4ee14c377de765d11076e1dd4c |
|
MD5 | a938bd30044508b8f70cf313128e8d05 |
|
BLAKE2b-256 | 30bfcc0463861d2bef9132bcfe8c0577899d52abe1a0e4cd28172603bf1dfb56 |