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.211.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045fc935db4b6cc32391f423558e7b1012b7aad4b2a942f2730b7e1325fa98bb |
|
MD5 | 89cf5193e78db0654f1885e8b8050a8a |
|
BLAKE2b-256 | 444e0a79b48d84cde8eb9320a3d636740d1f0250a9c664030ef2afb13d860e82 |
Close
Hashes for cdk_lambda_layer_wget-2.0.211-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e507d2e60925a948bd6f457fd47f3217304526b2ea812a2e85f1890c2553f4b |
|
MD5 | bbad528fb94d87eed01701a4eca4f83a |
|
BLAKE2b-256 | 6e59e845ee01275685f0f2375bf97655e65dcd99cad86be0545a4fbbc3d6281d |