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.83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36539c78ddc5e43a53a72cbfb0eff9db0360666c736c9be336980c3e82cd4cad |
|
MD5 | e3c33dd77fe95bda16b560a05adb23df |
|
BLAKE2b-256 | cdd583a622c50377d2298a1de0164455030cedce4a6122ea689e647ccaa67cce |
Close
Hashes for cdk_lambda_layer_wget-2.0.83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 776e8546279fbf642ab6fd686b9fed9e8fa29857cd18cba52518b2a917f509f3 |
|
MD5 | 0477ea2f879e96bbc3f65724c17947f7 |
|
BLAKE2b-256 | c30341d6fdb22f8204eb3d96fc83b22a89a4823bc958da6e2a5079e1acd26c11 |