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-2.0.411.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8207447ed465a03643f61d5950485f9b975dca38e72e52cc7dbd72ddf378ba7c |
|
MD5 | 4ce95bd4f5e2874412ea0f874b093278 |
|
BLAKE2b-256 | 1c5abfdd1f7ba7af0aa813d89d9f21d2ebf57f5d93ed475a42c509df4171abd2 |
Close
Hashes for cdk_lambda_layer_wget-2.0.411-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 673b9d6bc2c8be2431ea9b723d2b7e917b6342dc16375e6ce8e05cdbc22334b6 |
|
MD5 | 7868c1cb2fa9abc1639fe93ee27a4b7d |
|
BLAKE2b-256 | 5818ae745068c1486fcd93e9a04f29b3911f88390c62965abbd36ed03ccc46c6 |