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.366.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e28650add9490d9be27bfcbfe20b4f356db3a961305d14c48ddfb49cbd0044d0 |
|
MD5 | 1eb10a9cf0a67d0e5e911db558c75e88 |
|
BLAKE2b-256 | 62aa1efe0c3288a0ac73d97d84e1692c084b75e3ebfa68679a7dd86a4e669c16 |
Close
Hashes for cdk_lambda_layer_wget-1.0.366-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f16a689056e6ad43d05243a9373a0d55907aa3ad9b569a0ce70deb2fa61c0f2 |
|
MD5 | 190d610e9e80cd5a1f67541319c99376 |
|
BLAKE2b-256 | 86a1572c8aade2abd68505e1fa9c5ea8d7fe736e8cc92bed7f735772dd0284e4 |