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-2.0.369.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb989d7573457c4d20288efc0eb6343ef4eb485f8dcee549d2727614b6985fc |
|
MD5 | 619fc28d083f1b9cb557b09993cf930f |
|
BLAKE2b-256 | d669f5babbd0ce4bd1809f0e05ae554fe14305fc33589f9f8ee53b19ea7a68dd |
Close
Hashes for cdk_lambda_layer_zip-2.0.369-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d459f5a883d577381239bcd30e5fea6d5f8bc1abbd2a033f390f1bd4dce1199 |
|
MD5 | 785d5914300575c1f226e74313e7ed20 |
|
BLAKE2b-256 | dcec4e1b51e0bcf58571cb71294ba325c8ff79a19bdb5c4082fc839fa08e177f |