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.110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a2d4cca0290ced63accfb0a8e83215d86292df66a7842a8d3271333156800a |
|
MD5 | 293fca93e89f4e4bb7d79344242d5714 |
|
BLAKE2b-256 | b3ed5caebc747522782d71c5ce7202adb45916db15d2c79b8e59741520f57508 |
Close
Hashes for cdk_lambda_layer_wget-1.0.110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e8fa52da85cc150be09b3769c13c52517c3da3544dba3b64a81022fba8678c |
|
MD5 | dbf2151bc858cb600078ea98fea50d02 |
|
BLAKE2b-256 | 8400b810c301f843f26d568a351b90815a11eb2a2a223a69a280398f3000fcea |