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.245.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f59e6aa1c17029fb2975c573dcf3c84eceda69824da05ca50c2a349ffb7e9e |
|
MD5 | ffdef65ce5d99766bf95ba5b8212cdad |
|
BLAKE2b-256 | b1d08a9b570884f2baba2fce92213e4fd9d29ca7b416d1541c9b6f1a9536c0e6 |
Close
Hashes for cdk_lambda_layer_wget-2.0.245-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 028fcab4bef69f11ccf5065d84561d535ece01077cb7bf176e5f266c25c18c88 |
|
MD5 | 76bc4842733ebc2fd1879ecfbc691f10 |
|
BLAKE2b-256 | afc8f99c04a3810f0c18b575adaaa6f4e4c8736fe92907b6d69cd38ac22370a9 |