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.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac343e145d668aac46d9a3f6dac261025c91b5e4a5c1601a0e034cb9d144e80 |
|
MD5 | a8d93346844457b81522699ed74d6c1a |
|
BLAKE2b-256 | 173edee418d81816bfa3b50a0e00c5c2850957da8cddc24153cd8be688c30681 |
Close
Hashes for cdk_lambda_layer_wget-2.0.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4e5d0708f40c6ec7d439a41c3921b26bd75210a7670e6e442c777d188732c54 |
|
MD5 | 6ad39fb6c65ef3e49f9aa0c9739fbac9 |
|
BLAKE2b-256 | 6e139e92b35dbf2d9986ca322b1049d670b6f02d26b2697b1037b5d24f02402d |