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.100.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f70ba614094fbff10d797f9b877b9f045917268798c61943ce34c681b825a6a0 |
|
MD5 | 4797dafd1e7d6fe85356335badb09037 |
|
BLAKE2b-256 | 71add546f90fa403275b7adf319f6913db8cabe0bb1931ca8d468fd377af8fe5 |
Close
Hashes for cdk_lambda_layer_wget-1.0.100-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a999baa6b162fd7432054f1e74b5801b4041b578f4ac0b673bb275c96a7a34 |
|
MD5 | 0df9e4a6e562cd15c4c79dabf9479b81 |
|
BLAKE2b-256 | 55deb0fe6645d8a3e1fcc20eb4a2d76699f24258d0cfccefd83ee71d8caf60b6 |