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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb9de5c9e13f175a457bcb20a62f601b21aae678acb81713377d4f4653ac148 |
|
MD5 | eb28f2cda0322d06d1e9291754d6ea5b |
|
BLAKE2b-256 | cf049f15cefa811cea030e1d366d7ec2cc2a1989ca0df12dc304c6292209ab40 |
Close
Hashes for cdk_lambda_layer_wget-1.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bcb62eed5ea5b6813915be0e38110a652f20f0f2384ff16a7e72279d3bbc1aa |
|
MD5 | 5f0453f30aa58087059d8426040092e5 |
|
BLAKE2b-256 | a4ba4a2ba4903e6ec6661449ceee1233c4e32d7565f3dbd73c1b8e153ccb2a92 |