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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0587e8c45e7fb6ffddf8d3033e5a416c591c9690a0794340a978d109b695178e |
|
MD5 | c36948fc980b15ea92638f377440aab6 |
|
BLAKE2b-256 | fc487006e5d30d38885dd75fa76a685c8bc38075107a4a1269dfb44cc766a000 |
Close
Hashes for cdk_lambda_layer_wget-1.0.151-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96ce977af26beee2dbef0fe4b56a9d7bb1723f4aebc64fe10f5ef5b86a4d91f1 |
|
MD5 | 2218f76a6d300e531bf200a062efef52 |
|
BLAKE2b-256 | 009ae2dfb7470c1244bf93e4ad232cb25610ce7aa34134ccff1befccc6760b19 |