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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef442e30a429173a8702a4b89adca56de345d321de93f6aff59b9f540d75ed4 |
|
MD5 | 559d8ecb1a440b7779ec1dc2f84c5456 |
|
BLAKE2b-256 | facaf3c2dd3e1f93e0f6a6017955d2c5195f0fa97cbdbe1a31ef36839aac905e |
Close
Hashes for cdk_lambda_layer_wget-1.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4863f7f32c963b5e4b4a84bef11b6dbf49910d7e30066d81246907b91dc0027d |
|
MD5 | bae22eec2fc736c7cc3eaf73ff32bb9e |
|
BLAKE2b-256 | 44051fb29549e122bdde8765fef2f380def70652b01aac173f55248e6a5d3c2c |