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.418.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a508ac5306953276a802dfec7538e8315c60f225b06d04da9faf48ce60a52a00 |
|
MD5 | 46449460befaacf383502faeb634105d |
|
BLAKE2b-256 | 9940fe5d6c1f427d5623c785b7f9ea9fdac286ed4720796fc7a07009c18ce1ae |
Close
Hashes for cdk_lambda_layer_wget-2.0.418-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e95c4d22f2dc02daab2b8704d555e3bf05aa2bc976b9c4c3938a2347ee900f |
|
MD5 | 20d0bfd2891b46694d3aeba08460def2 |
|
BLAKE2b-256 | 15bbb91a2dd9c442319e1fd49c52b442aa94bdf9af5e78bc5923d201644e7b9e |