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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a806f3dacbc2f610cf61decb0429e5bc7dbd7c14828902b11b22c31de976cb06 |
|
MD5 | a0e67c99cad2ececeefec834194a9e30 |
|
BLAKE2b-256 | e47c5fbf8c7efb6c3d357f4061d09c20e5f3e157d870187ff3d34c471902c191 |
Close
Hashes for cdk_lambda_layer_wget-2.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83cce51fb1cbf64476864b0172b07fff84378184f5a02eae7b37fe94c20fb173 |
|
MD5 | e2f3aa430e6be17c3c1c808d56eb3794 |
|
BLAKE2b-256 | 012761626953dc9b3b1a8e8e4b1bf9d262f78126368a286610d57b20dcfc9e92 |