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-1.0.259.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e480839ff364a020648ed15c0213ca75095e5c358e03a271078da8789f295850 |
|
MD5 | 75f04eaa65c96bf016c26b1e72822ad7 |
|
BLAKE2b-256 | 0930def61aecdd07c1154ddc5f6139a4b78d5bb017fc034adff4142e9c516f90 |
Close
Hashes for cdk_lambda_layer_wget-1.0.259-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b26a6bcb428e6f3932581bcd3f4b6cb93599c45220ed68636bb0f45c59296998 |
|
MD5 | b3603a5b6310ea3bd8bbe4fbed0eca5d |
|
BLAKE2b-256 | 898cdb7ca89474bc67a80a6cc8f7a14139056b9f4df2f7f9a86f17cba2585b33 |