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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f696cd6428052a74b0b301c1ba734f75794be7f50985ddb447a6a7db6bc6a861 |
|
MD5 | 6209a6fe3aa36ec6ef6448cf96d4335a |
|
BLAKE2b-256 | 103656c1c6a70dcbf01db6f47fbf806048f80069f3326c66cbbb7aabf36a5ad9 |
Close
Hashes for cdk_lambda_layer_zip-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc81145e1c2233cd212c4865ba208bb8d5216710b0e1a9c7b9d992a085b4e085 |
|
MD5 | 6b5ef6e0b2d0092592d45f022cb4a965 |
|
BLAKE2b-256 | c2658f014388c396de986ca425c59994681611d65ddce1636bc91a6c71b88444 |