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.223.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253adf9e576eb140eeaa1d5a3abbe20839699ae562eb503d9c62f6c65b5b90e1 |
|
MD5 | 385d329c061c64ab773298f20cda7022 |
|
BLAKE2b-256 | 26c00cb7d7dc27d98e678d99c39e90c77d8e7d10bd599d55d809df9d7c9fa847 |
Close
Hashes for cdk_lambda_layer_wget-2.0.223-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ae4cdf0d4c759b72f2c77e60e919e4f1e2d302ab53ce209da1b460700a23d3 |
|
MD5 | 6aa998d8ab17254a4b336af6963341f4 |
|
BLAKE2b-256 | d47aabf31b7fdde7d67aac06259c4918004a57293043b02300f471a400ed8e46 |