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.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896820945b2c126cbb478d2232cd5015b1573ee464f3d60981e2be318405f9b6 |
|
MD5 | c66909367326dbb82b9e79c6998bcd96 |
|
BLAKE2b-256 | d96a84ea7a0bfcb2b8cbafdda3eb650309dc6047caac53011955b0d5ed71d8bc |
Close
Hashes for cdk_lambda_layer_wget-2.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2bc011e69fe2d0c5375dca7b46289c91ad435fac31f7c382a0ddcaa4f40736c |
|
MD5 | 24813bf1cda6513df77fc1fc72d4f4b3 |
|
BLAKE2b-256 | 971872f719f98eff7b71efeb70b04f24542fbb3fe6f1d0f37667c6d4f64adb63 |