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.419.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122c0e1d21cda37390b8ebb165606043b8e79bc11cf88057e2d0b6300db45825 |
|
MD5 | c887fb0e3f2d40d87ad7be5704be01c7 |
|
BLAKE2b-256 | bd39559ef42bf00bde542e55bcb6bb2bd2aaa2f493eebbc9c5754a4dce521cf7 |
Close
Hashes for cdk_lambda_layer_wget-2.0.419-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83a8b98bde61abd2bf93e4134744e661362aa95a7ac3ff7df74b20d17471e213 |
|
MD5 | b2ab356d9861772193ffe1bc46bd207e |
|
BLAKE2b-256 | bace328f83371d731799dafe2cd0ddc25200d231aec938f28a949d66280f2c92 |