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.157.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 679894d1060b724b06349702ef0e88aeb788da30ab3dcfd81e6dcc43fe3da8a1 |
|
MD5 | b52653042bbe562971ff61c7af80bb28 |
|
BLAKE2b-256 | 267cc78ececf48431f4978e4c9de0bbcac98fa2873ee5dedf69d7568607078f2 |
Close
Hashes for cdk_lambda_layer_wget-1.0.157-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c16f23b59e7ee9a090326fd7284127a06b1d9ccfac5c8f1bc03038b5e1094d0 |
|
MD5 | 944d8e2fccedfa50a0053534e77ef17c |
|
BLAKE2b-256 | d6b0847573d9a70780d31c708972d5848ac4f441567d8722154bdde41fb14d1b |