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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041a5b6fe0cfd36ead5334e210d30aca208bafeb7b15da882a22c4f6d7872646 |
|
MD5 | 615698672d0badaea9aeabc57caadeae |
|
BLAKE2b-256 | 3821ff516cf89af7f90770bd0548e04111fe359e3ebfec6ffc1dc8b6de547a2f |
Close
Hashes for cdk_lambda_layer_wget-2.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92add40234fa26690b63c0ca93464df538891e457e8d3e186ad37a0c09f04a19 |
|
MD5 | 78feb8779bfc3b94477ab891050a9c04 |
|
BLAKE2b-256 | a04fc309e97cd30fa416cafbb98e5d55d6c2827d7eb0e87cbab609fa56172a97 |