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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8346727a63bc0c0c8e4da1bafc6e76155faeef723fb71713d66b980d519bfb76 |
|
MD5 | a62fcc428854c220fcc1d8f15061d02d |
|
BLAKE2b-256 | 1eabadf69436610c579547dbb738d27aa1b56a209d62fe7b68c291563095daf3 |
Close
Hashes for cdk_lambda_layer_wget-1.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba1aa8d4ce3cba04a095f11874fd1c9060d20ad674bd20f4fd3c575b21d3123 |
|
MD5 | e4cef62285305a5a228e4b9053b03297 |
|
BLAKE2b-256 | cec0e5bb2cf5c07c14a8c96cfb64ef0c1e183630f10926fbe212867e3f2dce61 |