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.95.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfdea8104e4962257fe154b2404a8781e0e034edf039647f5548f5f43678264c |
|
MD5 | c867942934c476d080ffa9f24d3c0b8d |
|
BLAKE2b-256 | 6f0dbff4a3c82d4de024ca19b0924671467ef84a255d5fe6657290646a940845 |
Close
Hashes for cdk_lambda_layer_wget-2.0.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81d20da07a6fa5d69ea66ae7a6cce3f1eef0b1de569c31fc3fa19e7de8fb756 |
|
MD5 | 671ff0185ab3b745ca5f4f7dda818b8b |
|
BLAKE2b-256 | bd867161a081e7863c36861eb27a744abe6f592d03f6339f712acf6b0f149b60 |