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.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c219f75fd60cc5df330df27589aad6062391765c3dcbd55de959bbf18722df |
|
MD5 | f0d2d6d2ea64789cf3884093ad3ff789 |
|
BLAKE2b-256 | 222a194bfda44a3cfd44ade04c9757d2a9ccfd0b8dfe3b4398a4566a6221406f |
Close
Hashes for cdk_lambda_layer_wget-2.0.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56dfe8fb9d08d61910fc9045cc6e55532c4723c488558419768a01246748339f |
|
MD5 | 5de856022a907feace51d1d6f02186b7 |
|
BLAKE2b-256 | 4fdff8ae69bfc7f5e5b5f7ec140d1c000d4ef76defaccd5d6d5446a940b0e537 |