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.349.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51aaa1697dd6a65191129ae7a94685203bf3f54687b7171edbefea002f007b7e |
|
MD5 | 8f8a1500f9b50c6ac08f7109119c096f |
|
BLAKE2b-256 | 37cf1be3191dc99364868a2910ce42aeb1e36122b4e5ace64b83ba44a6ee7156 |
Close
Hashes for cdk_lambda_layer_wget-2.0.349-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e82d4354dd0c402a14e5437ee5b2fc9df3acabbf1e17e1c96572d51bc56e84dd |
|
MD5 | 6b3fbfe0cd6d2991e7ca000344a7400c |
|
BLAKE2b-256 | 94ebb109fd4577bf9f208c930667515db88c972bf70011893e9523ebb576bbb2 |