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.319.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18fa20e315f13431432d6537623fbcd4e9ddd0ccf2e4dbd1c13be6b895029a32 |
|
MD5 | 76db49e3c02e46fe317f4df922ec9b4f |
|
BLAKE2b-256 | 4d790bfb93ac717ec5f9d0d422ef09a67936b38ec7ceca63ff2bd9d5e9347916 |
Close
Hashes for cdk_lambda_layer_wget-1.0.319-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9ed03a39d258e73bb51a44ac7888a3f1695fbb5a47bdfd77c6c1a4c20988e74 |
|
MD5 | c10d7c02419609e4b1ad8ac22754dd18 |
|
BLAKE2b-256 | 4ce3a150bd872cc5b19ddf46e09b59ee3dd77c0a201b73aef4c51de4f52ca566 |