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.289.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51612e71a330b157acb46313945dff440a968adfd48b2134a0a37ae3df4311e |
|
MD5 | 3919972a97698980710f6f44caf395e4 |
|
BLAKE2b-256 | 04aa130596bdf132cc934d6dc0239e8aecf3308559c83904a48cd541d47a05dc |
Close
Hashes for cdk_lambda_layer_wget-2.0.289-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebcf2cdd33861e45d1d0025906993a56ffef26aab4d1bcb171487f1c0e5e5fc8 |
|
MD5 | 02bc3c6c6f4c291c0babf315865c9770 |
|
BLAKE2b-256 | b74addba877e3b491bb12024468b97a2b37c73aeea20ad745ebbe1792acdc299 |