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.358.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd2e17f359ad1c2c6078277a2cc735c79316e0e3ce92d52f4876565093be51f |
|
MD5 | 8bb715af3823d1faa612c91490799db7 |
|
BLAKE2b-256 | 6419a0aca6682a6bbdab716d8607328ee403b22e9b878edec6776ca3454938f6 |
Close
Hashes for cdk_lambda_layer_zip-1.0.358-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9963290cd7fa7fd68a875e27668deacb01cf229ce2db647ac80beac351733bab |
|
MD5 | 993de1eaf4a04e18d30d83ea5ebd462f |
|
BLAKE2b-256 | c7b069f7cad0ee41bb792184082c4869618e54d47446ae0299ef607e1a07c333 |