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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c8e984239621c173c969365c95130ad7cda5680da28b2a35bb26b5cb247c372 |
|
MD5 | cac83bd9beef082badcf093833eaf490 |
|
BLAKE2b-256 | c431dd6d3cdf61afa0358d9c610e52dcee63d551b972668a789653bb6b0ae8d5 |
Close
Hashes for cdk_lambda_layer_wget-2.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeec1c46974535095ff31f25ece8f7d5981237ead79591c2725521daed48640c |
|
MD5 | ec8594d8629059d15efbb85d9cb13512 |
|
BLAKE2b-256 | 981edc10192a5a885be9058d7dd22d3265b1fd9a706f01016cd17c4ce9982154 |