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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bceda6de500899e9407c2027793b90dc27bbca0da3ebb9cd65a7f4598d410a1a |
|
MD5 | 8831667541ebe6b72748c2b7910094fb |
|
BLAKE2b-256 | 6e7b7e009fdac5ea4c309430df9f82921f5422b63777ffd5affabb84eb517923 |
Close
Hashes for cdk_lambda_layer_wget-2.0.151-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f1b9c7162b145125716895554fb13c8db76d9ee329391416488607a39c8a1a |
|
MD5 | 85eaa3ef1042e6da0d95c1a480c7de5c |
|
BLAKE2b-256 | 51c379e632256b0365098bf0f1d86586652b591016ccb1c50bf7478323da3db7 |