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.395.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603cc4fbceb81979ccfa433a5774302c0e967762096b58714d0374018931f0af |
|
MD5 | bf5c24aa06c3fac279e24c7118a621e2 |
|
BLAKE2b-256 | d3c4e2e0de5a36209185766ce0182ae1b57bc69d4489e51ae9f692a70b38dce6 |
Close
Hashes for cdk_lambda_layer_wget-2.0.395-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81e7a394d916e1966102449598f47a62d654aadfaf48c9a3ffbe12436210c25f |
|
MD5 | 1089b868c991d167b277d26a4b4270f6 |
|
BLAKE2b-256 | bf0477ca246a17d9fe40a49ad30e731f34a4dc455818bdf5743d4a2ba62667e0 |