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.292.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1758d66051cb2f7696db762c38e67683084db09fa101130cb30c6323bc28c039 |
|
MD5 | 2bf0a3b2ced8549515c73dcff80927d2 |
|
BLAKE2b-256 | ccf1fed19cde728ca709e7809f0534966425bea0c81ab28f6aee95da749eab31 |
Close
Hashes for cdk_lambda_layer_wget-2.0.292-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76aff96642db2bd7dc501924c49cffccf315764f053c55c361acadd36b8bbc29 |
|
MD5 | cc1fc89c19686835108eed85473bad6e |
|
BLAKE2b-256 | 08c605e594062932d01cea822df78a92e1e23f521db4e8692dd9ae2fd3ba6f6e |