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.275.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc756ac55d055b49c569fc1065c4401689d0b418dc772e5d5b1eb710045889b7 |
|
MD5 | 461c96e1f773446405999bac82f8db1f |
|
BLAKE2b-256 | 3926e4ecd57409530642ae20d7ca0d621f936be3874127de47a518d16e9e3ae9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.275-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd575dac92e13f5707c5c88a9826a98e6e452787a56f6df39f668445a550996 |
|
MD5 | b46cabd709eab3a640a3a4b25beeb7a2 |
|
BLAKE2b-256 | daa361b9b10aa1c695ee4fd5a790a6bb1581c1cfdf8babcb12e5be1874a7e477 |