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.393.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7601aed37bbf12078085b1407dfdb0538693636a455161d914de3eccf3e36424 |
|
MD5 | 2ceba2498c1d7e4fec27401bf822bbd3 |
|
BLAKE2b-256 | 395ff4f7e50cb8effc605849fff82419d5b8a10b44ddc876d793f26382ffb777 |
Close
Hashes for cdk_lambda_layer_wget-1.0.393-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68c48d24b6542bf86a5e1f3266a52817ff2819e35a3494d309aaf096b228e98 |
|
MD5 | 947c1c5fc72f75c4ec60df3011daa145 |
|
BLAKE2b-256 | d00f8a7d6d7d781c3eda65b4dcef597f1cfb4ae7af4de49795e0f7e381e43141 |