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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d3caf3a2685f7cb9ff36e306753e7ec6b11bd2f350f452b5e5f538e5dd153b |
|
MD5 | 4f941647b8fe5da4570b9cde37e64da2 |
|
BLAKE2b-256 | c5f441e4f36f6cdd8889540a35f941ee6931356656c7f3f347f0d128e0b33a41 |
Close
Hashes for cdk_lambda_layer_wget-2.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f42b052a9c2142f6e02ef336db7969c98e94bdc0dad43d0a8f8a9bc276b1c4 |
|
MD5 | 8cf5822dd5db0a75c466a68545cb3cf1 |
|
BLAKE2b-256 | 3655f690d9875afda1a5a63ca7950f981634035bfbdd4a0df818cfdd97afd8e4 |