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-1.0.128.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2438af80c251a099858058abe4e6b9a0e55215cb82630a41b66c4e67b24d749f |
|
MD5 | 6d7ff64f28e80c2ee65e7dc05728d024 |
|
BLAKE2b-256 | feb568b308c730acbe1be66768c1c53e2fb081efb8d5481bf3e7961a41259b2b |
Close
Hashes for cdk_lambda_layer_wget-1.0.128-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8950b6dd24836e96686db00bf2eb85215ba4814dd596c7c344d88d83f35f5e8 |
|
MD5 | 4bb7a66227cfbbd488ef805e3a7d4521 |
|
BLAKE2b-256 | fe38d7d6adf601b11338dac06d274b8980467e92e76226f1ed620bc032360fe7 |