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.384.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2310f642940bf4b2fe6fdee009efc7e89a86c4a6e9b9e8a37f9f7142c917b86c |
|
MD5 | 916bc4b475ef3b570d88d7541ef6049a |
|
BLAKE2b-256 | 221d852f65284c82ba48eb498639d241679e60944e59a659cce46099da6a02d2 |
Close
Hashes for cdk_lambda_layer_wget-2.0.384-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29fac0eda681127dfd8f5f248d4288faf5b091980785ac46a6f35f8da0568901 |
|
MD5 | c05c3cf1d35854fd4c2e583d72af92c0 |
|
BLAKE2b-256 | e21a89c0e0c4dac89aff9b002ba817d88c9b7d3a61ea8ab4bd166bdd7c9425f2 |