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-1.0.161.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6a8acaf61b2b95bd8bd9a46a679b04698c22fb047fe4c967dd96b3fcacbb52 |
|
MD5 | 0b2bd01fa424cb65da6357ce867a4b72 |
|
BLAKE2b-256 | fde65fb8d0db427c4e1fdc3da57dfabca26a4e8644f92087abcdc3e60a0574f0 |
Close
Hashes for cdk_lambda_layer_wget-1.0.161-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb5aaedeeb76d40988e8789c1fd4ec60e5a376354a995cce5938f7b1311300b |
|
MD5 | f56d7b9febcd3c3f11379b1aa9dde112 |
|
BLAKE2b-256 | 6fa8caf4d224be0200bbdb929794ada609f6c50839c131751889a626719093be |