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.218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84ca476fbf7f7c12d788cc9c9095fc498b3d9adfa4e3b27aea8f00534d0d429f |
|
MD5 | 8c49c10150720633ad835cec0c4bb8c9 |
|
BLAKE2b-256 | ebda7f4d8eec8f48fbf2dba5d41493e9e7872740a17b27a26431d335f4419ffd |
Close
Hashes for cdk_lambda_layer_wget-1.0.218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26cc8a492b59b3a25a2c0f159cdeec4a9f9165e0779878110051bbe1a2235f14 |
|
MD5 | bf2a5a4d360b3b9e4776460bc51bdce7 |
|
BLAKE2b-256 | 64d97af59ecfb60b03ddfb2bd0b1d4a058dc10d244efb4ade1af6ca7b00839d3 |