Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f3d1531d25d0d3964962f18435abdcdaecda06373607124d0beaa7ed41f209 |
|
MD5 | 3e057776a86716fe87527553f59937cc |
|
BLAKE2b-256 | cffcc3aa3c0fe52fdd03dcda9531c596d9dae19e643cd23bdb9df3284a2d7168 |
Close
Hashes for cdk_lambda_layer_zip-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482d70e370c0bd5c04405c7595d18450db77ab20a4028bfe45b620387e73dac7 |
|
MD5 | 9c94eddad56f7f4b79bba8cb436097bb |
|
BLAKE2b-256 | b8a84f524fddec34d3d1360cf48e357132fa2fa8cdbec2c47a5322b8caba17d2 |