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.352.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a363c733038d5da4b415853f509708feb0f3be08a890e4b41dd16b49492660 |
|
MD5 | a1995150a7e96e9b1bf9102ec936f42a |
|
BLAKE2b-256 | b9d7b78378fc34ab2b9680b583e130cc9e2ff9192f794bc7d75da83ee21b72f6 |
Close
Hashes for cdk_lambda_layer_wget-1.0.352-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0fd2b17e42daac1a46c536c27958d77e73214d4756d7ea01b0dfd3520aac08a |
|
MD5 | 990bb1b201817cff27ecd758d3c53e30 |
|
BLAKE2b-256 | 3e1fb605ee485d9177ecfbe7097706102a59ce8a276ac6bd1e9f3effabe535f9 |