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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c28ea2d40fbfd5a9b79eed8b15b236d1ae8cbf9c7ca6a06c2c95d19e9f8e4c |
|
MD5 | cb332e0bbcdea3324bda3dce33b24e4b |
|
BLAKE2b-256 | da061e924c12cd04abb83ab2e58e6bb6d7dd6a76e08e06279783646985a99b01 |
Close
Hashes for cdk_lambda_layer_wget-2.0.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba05a38c48a5688491405ee56937109af0c8ac3e6b63e7f0fdbfc9d9e7cdee9 |
|
MD5 | 8f0c381e1b7df203aa5cdf8b9de01974 |
|
BLAKE2b-256 | 75d0abcbbd7d5a00d7b552eb1f5e53d330572d7d0688da5e6daa98fc467e59e7 |