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.102.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb40a2b277a3bae5f542c2553f16167f3a97b557ad0e4fd95c60430fc507165 |
|
MD5 | a4e871ff7c4fc423310a13f270fb1ffb |
|
BLAKE2b-256 | 6040fc063da1eb2adbc7b25cb528450c6f35476688288f6bf5151ebc89eb07a3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.102-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833cb9ddf6a5ebda6851dc49e98f589c70339e62efcd729361e043f36ad156fb |
|
MD5 | 7ef7a420b970e7946e7c0c7c37db4c3e |
|
BLAKE2b-256 | 2aeea9b63c585d5d108c952c27de5c2f5167bd42bb4d0301c9dce21f8e9f5585 |