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.388.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f83fbecc3f30104f026106a002fab82f028c2224f561854da4f498f113c061 |
|
MD5 | 2c5099f093bcdf8466a5382375e49f5a |
|
BLAKE2b-256 | a1dfd0a855ec7c3c5a506d07a14a016f8fb85488465db0329aedf664beadb3bf |
Close
Hashes for cdk_lambda_layer_wget-2.0.388-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356310403373f9407dc4e67abda05de060356887f698468c5a54ccd9bd2f499c |
|
MD5 | 8b9cdc84f42a2a01aeb59d6dc65659a4 |
|
BLAKE2b-256 | a11eb7fa14ee8c1b1bf85d88ef7b1f7e72f506644b015d1369d0c77d6afdac87 |