Lambda Layer for wget
Project description
AWS Lambda Layer with wget
Usage:
// WgetLayer bundles the wget in a lambda layer
import { WgetLayer } from 'cdk-lambda-layer-wget';
declare const fn: lambda.Function;
fn.addLayers(new WgetLayer(this, 'WgetLayer'));
import { WgetLayer } from 'cdk-lambda-layer-wget'
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 WgetLayer(this, 'WgetLayer')]
});
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-wget-2.0.126.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fa16133fdbbf2bc43c66cc778b9573fadc293cf32d8d0e458b964f5391a0897 |
|
MD5 | 401eeb8540b127f61e0847a2c7dd474b |
|
BLAKE2b-256 | 15c3b2cfefca4275f105ea686338239033cf280a545184d9b27abca9eb3d8bdd |
Close
Hashes for cdk_lambda_layer_wget-2.0.126-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419fea3db4d151f6729b3a29e4bed3bbc3964d29c6ec4813438f76679825bca0 |
|
MD5 | 62ebb49a77c5cebc7c5c31e3210ad6dc |
|
BLAKE2b-256 | c42b4c9523115ab2f9300cd3e018d55e9cbdc8894df02306c18988111052a14d |