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.67.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a21341bfab468a5218eb4f86f0b02d8babf6ef75d80d99cec370dbd4d102407 |
|
MD5 | 2ac0635ec44417be68d05b5dc2e0fcb1 |
|
BLAKE2b-256 | f597f35e96b6dfd80edd4b4d05e8333a9df69ca17f61c57bcb8af56914bac0e4 |
Close
Hashes for cdk_lambda_layer_wget-2.0.67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adbbaff2dd93eb1312a27b32144b27253de64d3af3c0f6d74cabb32a7e7491e7 |
|
MD5 | 60809809b11df01287af6e44b450dd10 |
|
BLAKE2b-256 | 8172c809e6b383bfd2b51338d32616dd4620c6748b06fc39027c1d9d2a9b175f |