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.345.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4072c9b0bd36e4ca6066c25a47cc17fb09e921e948a22e5f35211afe75217bbb |
|
MD5 | 7f3542bd5d64c09214b5faff6d7ad7f8 |
|
BLAKE2b-256 | 39da34ff5db02da9234e5f918f0ee7cc9b76f17ebf1f379f914ab8d9a82d93d2 |
Close
Hashes for cdk_lambda_layer_wget-2.0.345-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3a6aca231193fef9735c1762ff35bd53d57853f2e22eeec577040f6aaa6b10 |
|
MD5 | 3babca3191c2153bcf7d71587efe04e3 |
|
BLAKE2b-256 | 8437a281f7e2ad167417b47b786e622e7f4b0fd63bffa98b30f037188551e926 |