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.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | def20bd0aca5398b55de3e48a930b61a88addd05cca7b260f0004ca5f60b08f9 |
|
MD5 | 42944154b07e0b5e15f9669cedcc2b32 |
|
BLAKE2b-256 | 99b8482ba23779c0566c57e76279d72c24085501a6138fe9f81813ed1b8a414f |
Close
Hashes for cdk_lambda_layer_wget-2.0.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32a198572043edbbec7779a7f561bc54811dde70a16f7c82d0c4fde35c695f16 |
|
MD5 | d5f15ddb67137b4122327aff2c678f30 |
|
BLAKE2b-256 | b485528adff0a8a5f835891974e45cdc6654f599f2548b7184100be253500f24 |