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.323.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869152a7c749fcc3f0b184e8b855678bc7364fef54f4e695fbb3fe3fc7e8e353 |
|
MD5 | af2eb97106c435b12240a8d202377b0f |
|
BLAKE2b-256 | 75a5be2b6524feb38386c5260ee0a3635901bbf5efa5e9e8dbd4e959c15954cb |
Close
Hashes for cdk_lambda_layer_wget-2.0.323-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781076fca695dd93d541f52469bbf2175978ebfc6ac7061cc323a87d30b3074e |
|
MD5 | 920289ca895de727de7c804d13787148 |
|
BLAKE2b-256 | d109e5176e3a2fb12332d29c09622ea341a6af2047a1df54eb73d6a92593c65f |