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.416.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | afb418db8ee9d63f2a7ff54c85ca36515ec9a4bd962c2c18b01a5b4f8b64cf6c |
|
MD5 | 97e0f8319685de315463a167c853866a |
|
BLAKE2b-256 | 8cfe48c0003edda909ce9341cad98dbddf2a382a625bb05f4960efd7132d19ea |
Close
Hashes for cdk_lambda_layer_wget-2.0.416-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3d5e74be406cd37539fbe215ffa21b677c98baab6b3045d0ce9ae0446f0125 |
|
MD5 | 785fe93f439840227745821b3472eb08 |
|
BLAKE2b-256 | 7df9b9e83b998ba24e1a3ac538a3a01be9d1536ed0b83763570047a8ac417acc |