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-1.0.317.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a440e0bf349782ac0b216495402f4a79d763f41ad7edb957f2d90f94eb45847 |
|
MD5 | a5f372cef48f85412ec35784f855e098 |
|
BLAKE2b-256 | 449d570b8fdf6fdb56475938917033a50609b558d44f9f683d43d46e3ed10b94 |
Close
Hashes for cdk_lambda_layer_wget-1.0.317-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63383213905a07d6e6463d304e87c22b5b4b178b48860b27953734d6709bda78 |
|
MD5 | 51e2f969c1960e55ed74258a09c9deec |
|
BLAKE2b-256 | 181666492169696652fa26b3b76cb7854d90300ffa4ea7f519fae1dae752dfa1 |