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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6621a3adc81615b072019e36793a8daeb73c526c30bcebd6dbbcc8a0a9fdc6f1 |
|
MD5 | 6e1a3451f2bb7cb1da3fca20f6ea9044 |
|
BLAKE2b-256 | ce0d89f228a9554e328475700f2c9cf736c005514e3c993dba51227265835474 |
Close
Hashes for cdk_lambda_layer_wget-2.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e64c7261c17d23aa62e12b5ded707b480b8a8853062ba1c5841dc5493843077b |
|
MD5 | 381e06c0f4c5d6b3cbbb5082786e6077 |
|
BLAKE2b-256 | 6cb18e8024b688a592c17eda0539a89375a7a2efbbfa76a098adfaf54eab807a |