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.177.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f164936dcc4dbe9f476d71bdceaa9deeebcbd9a00aabee42e6e1acb1013aa9 |
|
MD5 | 11252613eba7c448f3377c2bb1072cbb |
|
BLAKE2b-256 | 2c825d9f2602e441884cb508a88c0dca0b51da90cea290475e68e2b4aaec5662 |
Close
Hashes for cdk_lambda_layer_wget-2.0.177-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8dac4137024bf6397128ca187f33a5f86d85911b30d3023e78bf3d1f83c5b0 |
|
MD5 | 14f11c8b49d1d40adf916cb882b7baa0 |
|
BLAKE2b-256 | 6540b23cd55ca5fba39f1cea2337d71d9a9c8e15de6c52bd96c4376e89548ce2 |