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-1.0.322.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c871d3d67f4e18df16d3b4d7af874b08e7865aa36ce421f7fd12d7b2222ed81b |
|
MD5 | 175645d69f47193d0c9a02b1cbab0e91 |
|
BLAKE2b-256 | 2dff01123ae72f686f4d49097f53275b3923db678363123a0dd11cec7b9dc373 |
Close
Hashes for cdk_lambda_layer_wget-1.0.322-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 694597e4c4415986fa02a2a47658f4aec2244422022eaf436793678ef3325cd8 |
|
MD5 | ed91554be4081cbe9a11b90079559135 |
|
BLAKE2b-256 | 01072257ef17d947be4b920257c14019b3e102ea80151d05d7788d5fb38f1a25 |