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.330.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f429d41f57ea034ee9664adf721b23c97739e801a9812094036123e4727a9744 |
|
MD5 | bc6d80a4e151a1c1146a37c902c45279 |
|
BLAKE2b-256 | 86ac675ad5dd5d483cbfe63042379744e55f5a5fdb713de4be167f66b3684703 |
Close
Hashes for cdk_lambda_layer_wget-2.0.330-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137444c2cd9160886f6dd6b73c87d7f1de5945d6d071a8ebc2a46bee507cd841 |
|
MD5 | 17d47eaa302336dd5e504b40834bbf4b |
|
BLAKE2b-256 | cb6b5d5a677ea9c18734bb9e559fcefdd68646abde4e8027709ce841039598fc |