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.382.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2185a9abbced81c602b1dc6e4a4df39ac6041cc3b76db236483912d64d8fffdc |
|
MD5 | 202d3658d7a0d801ad6b7cdc1c0fc3f1 |
|
BLAKE2b-256 | b3592f132e96ca941d8fa6344c53c292ea2fffe05e0d66a4926e3f42a0ec1eb0 |
Close
Hashes for cdk_lambda_layer_wget-2.0.382-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af44260b060aaac42bbaa6e3c152e22589a1651aeee808b3a983029aa4bce03 |
|
MD5 | 86fdef836f556ebbbbe6548a93ac6a36 |
|
BLAKE2b-256 | bec7c50d41018abde7a67152963bc46cfae9b6297bd4270de322aba8339cd497 |