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.146.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f6b65efa30f528853b4a2403b51b6830889e3e3983125d4aef29db390a93fbb |
|
MD5 | 6a4b9533edc43890cc969fde729aa054 |
|
BLAKE2b-256 | cfc9cec98aa18590a68baf2d89f02f44c025afbb083bff99097567c833767df5 |
Close
Hashes for cdk_lambda_layer_wget-2.0.146-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d59f02f5edfc15de1007d9150590d54b0e90748aa142452e1cec515c6a9bbaf2 |
|
MD5 | cd678874ae8181bc6bfdc08d003ab015 |
|
BLAKE2b-256 | aef566a43233d6ae5cd78f09c6fe59bdbbd1ecdae52ed0a603742eed88194efb |