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.412.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afa4cc77dc585e1be00a574268d562e1acbe5c143b9c929c7a05e8dcce39938 |
|
MD5 | 0de4ad87adb2e3f9ded900650db69777 |
|
BLAKE2b-256 | e30695092dfb9ca3bb1f10c7a928afcd0b8e638bc3bc192d514d1b0e1b2b2168 |
Close
Hashes for cdk_lambda_layer_wget-2.0.412-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f339fa395824dee38d9034aa53cc727a2896cf98339e528200a450238a2a31 |
|
MD5 | 277c01aaf607e771bf6e5fe33c9d0de4 |
|
BLAKE2b-256 | 3002f77ae8e4cd031311bc9f97f2723cafcc0b3e916975a5ff3b43198990e872 |