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.299.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab12430db96217f5258de70501e89bfb449a2a000264caed95f8d93ce9ed78f |
|
MD5 | 8af1ec28ea8e9d6381d788e9327e3b9c |
|
BLAKE2b-256 | 030beefdee138c1634f39fc3c3622a8f87b7f0ce29ebbbb012d33b16b2502519 |
Close
Hashes for cdk_lambda_layer_wget-2.0.299-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad89025872ffda38f398b3ebbccf7e13ffd5addc8fb790d9d80f98290f5893e |
|
MD5 | 310b21fa18d887b897d89a1cd1905c35 |
|
BLAKE2b-256 | e82a3df856f4ac0e31818ec3960275e2af555fb90ad0ac7b39781b8154498e38 |