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.376.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7068a546e3bd25e69a81e5de42922eb712e9115aa7e907de6806cc8c588519 |
|
MD5 | 0781a2617b3fc568e159508c225c1f87 |
|
BLAKE2b-256 | c6fb552f4d95f2c32a01cc49ddf8a25c61cf8f90ebe75b0e3d3dcf1d97597a53 |
Close
Hashes for cdk_lambda_layer_wget-2.0.376-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2a0e19e0388f5e75cca11dd5a14f6c8cb75336ee004c0bf8e32091b88c5a6f |
|
MD5 | 1a0588adf7734d4f9b8af1ad3e1f2968 |
|
BLAKE2b-256 | 06e1a00cc05c05d1994e96fef7b7c0de9e6eaf0b96ea06f5dd3d3bd54afef212 |