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.304.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 378d3f4ea43a475a4342fa3a7fbc9b203106526b8fcbf75d2fb2dfa29ad6e164 |
|
MD5 | 0a0687a4ce931e7497258942cfb8f257 |
|
BLAKE2b-256 | db5a860e2668522c9efcef68d248994175d391b3f83caf631b96dbe007d13d20 |
Close
Hashes for cdk_lambda_layer_wget-2.0.304-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1352594097b47b77666de4d55196986da4aa836159430c807ab3333edd8ad539 |
|
MD5 | 85670c7b2b8b1755d24cf71c0166cb68 |
|
BLAKE2b-256 | c39ea5a9250aae7838e3456731becb93251e69f6a35c705c65c1ce9241e9e4e0 |