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.385.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9ab701d54f8bec814ccaf145c7d0394627bba2c75adc88fd14bd26fe3f916f |
|
MD5 | 21f33edac69ced85bb625deddf9e59fc |
|
BLAKE2b-256 | 21e6be45dbdc8d30a889c48364839f986ea1a0d293cf517eeeddc3c93ed90ed2 |
Close
Hashes for cdk_lambda_layer_wget-2.0.385-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b962c1806c5ee4a338132fedf2281c4b4e46a87ef5462a6339e87bbe922bdb77 |
|
MD5 | c38c0aac13bd3a30748b3341575bde9e |
|
BLAKE2b-256 | d87e9f3e92bfe6de1b67fd08f5435a5d06d128ceb54170d3cadcd3d26ba23245 |