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.168.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62922c1c4383202b54dd77229c244f2092dd0c022208f77adec038884fa22fdc |
|
MD5 | 89650e643a2eb53a990e2e532b8fed23 |
|
BLAKE2b-256 | 142134227fbbfef0d96b124f73889d8c5f5b1ad626eb2760efa810170ccfb73d |
Close
Hashes for cdk_lambda_layer_wget-2.0.168-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3805c977e5c53fbf298ba58970665edc75d4e535a2a6e71f159e4e798be5599 |
|
MD5 | a68ad3c16cfdd8f78ad7c159b152d4a3 |
|
BLAKE2b-256 | 4b0158ae3e9c98abe02570f4969e00933130d82203e3fab6accbc49ef3dab2e6 |