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.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b11804504c9d35f8d607b2547bb38db2ca329c1ce090c1b6716ae72ad206683 |
|
MD5 | e42d242e0e3278fcdf3264c53e978c09 |
|
BLAKE2b-256 | 78b955dc02f741ae23c76f3b2ed74f034c006b096d93a2a716375927b09efaca |
Close
Hashes for cdk_lambda_layer_wget-2.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03f96f0364db9a5e85d51a50ec1fa5f40943c63f9802059cb6b45f565de4b0d |
|
MD5 | 17da54a915353e2492a6de349b0db2e1 |
|
BLAKE2b-256 | 61f822b3b9117e474a4627e4b8bb27442ac0e970644af2dedecaff0710ff2b05 |