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.280.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f06db5dfc50a98da9b8256c3bab2a0709bedf498461f95132307d0287a94079 |
|
MD5 | 196232a1bc5d55f1c553b1a32c203715 |
|
BLAKE2b-256 | b292777ab58b2077b158d7d24867900481e1f33c87a371f7e6c67d76203da27b |
Close
Hashes for cdk_lambda_layer_wget-1.0.280-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2712d9e423823560649aef124ddc30c92c9fa035196f963b620f7e3fa58f69 |
|
MD5 | 375aa49f30e882c635dd6b0bec9cb4cc |
|
BLAKE2b-256 | 5e6c8f03d21c67fcf760e30cbdf416e378c4d55348b42269036021ade1f9fa02 |