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.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11f53bb121807da90cea4148e3812c64233d7392d2be4816402ab37df838b54d |
|
MD5 | 864cf19480cab4b361b9055dfef76e38 |
|
BLAKE2b-256 | 62e26392d318176b3967ea7a334798d116c70f29ae0da8c70869d6078f0584c7 |
Close
Hashes for cdk_lambda_layer_wget-2.0.155-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319da7cc1ed6bc603987e57c7b1629513ebe7d761b3ff35d37f7f9d810ce2764 |
|
MD5 | 8cece4102a6436ead6dd761630e24740 |
|
BLAKE2b-256 | c2a521b99fdf70024f17a994a506d021a753a1484e4cfef52f9266a15ba8644a |