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-1.0.353.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06cd9f029e9dc48bc20541d299ea0f87cbb38fbe226a6dd9c8dd97b055cc9fa6 |
|
MD5 | 9405bfedfc41ec12e8e18a9aa3a624ab |
|
BLAKE2b-256 | 9f119c6711518aebe87798017a620e093a136dcadf28771bce234f1879acdcde |
Close
Hashes for cdk_lambda_layer_wget-1.0.353-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3df1226118f8c40a410b839c49c1f796da520473cd7658a416be3262835445fa |
|
MD5 | b7776cdfd6580946d08227dcc5915410 |
|
BLAKE2b-256 | cd635899f01dbc9635ae465902808875c5c61bc05ef8fa857eab835354574676 |