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.243.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ddaecc3b8e1befce3402d6b96f01c7e19ff2cbe4daf8cb27c743376bd7544d3 |
|
MD5 | 0a8dee97457b7bae51d72cdcfda1b274 |
|
BLAKE2b-256 | 113de067f1b45b86f42e035a2bd91c6b4e1c775028ff68bda7b1705c90b5adc7 |
Close
Hashes for cdk_lambda_layer_wget-2.0.243-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52f40e1e91f659a415389d35ede49cb2205563626558d9a5ae9292223013e04 |
|
MD5 | c7b9f7bf544fed5edc0ae48eab6610cd |
|
BLAKE2b-256 | 6b117b2895243e7a7e69643352fbb475cd7b3fbd39fcd763c694270b8c3d4035 |