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.288.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf3e32696fff6cfb97230811733d753c6462b0663de5e610475e2437468e42a |
|
MD5 | 35fa7bcfae03dc214072c67a13fac335 |
|
BLAKE2b-256 | 758bcfbb27b19bcaeb906ce87ed447f65925d783e756c47ef70655b2aeea5099 |
Close
Hashes for cdk_lambda_layer_wget-2.0.288-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ba96a8b604aff7976af804c86a5db93ffb11c6fd566d8149ad729949c4d13d4 |
|
MD5 | 3db09fd33cb21a1496bc400edad6d485 |
|
BLAKE2b-256 | e6a000da2b0dcad52f611d278c596556bb2bed4cebc8d43954839c32f6c6b18f |