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.231.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e328b4482928267fc829a46c62ad43d58af186d1973361005a81175b35e4a653 |
|
MD5 | cb35de2106dfffbcb6e890378f805990 |
|
BLAKE2b-256 | 2015fbfdb21873708e647f3ec8f2feef6796a758ae98301288e674c51ffd07cd |
Close
Hashes for cdk_lambda_layer_wget-2.0.231-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecfcaebdcccdcce956e94e5ad7d220cd6f31fc1133181bdbe9081ce15aa8b7e2 |
|
MD5 | 6f80672fbe4cc0756c237a1f37bf7122 |
|
BLAKE2b-256 | 41a65082ba70538d7da4e378ae0305256bc6da5e96fea67caf352b064a47b5fd |