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.391.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99fc01eed315b0a51a6f9b52be8c8e16734747a01e78b0755fa1d07777033dc9 |
|
MD5 | 8e7a098eafe80bf27da014ccfd23153e |
|
BLAKE2b-256 | 4073ab7777e365e6541cb48eb4a5c5b6aca486e661b3ae810762568509d3967a |
Close
Hashes for cdk_lambda_layer_wget-1.0.391-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116fcc4e8d4f76ed92b2ec9736d705b48d9e342c07b392d530b3c03951be10dd |
|
MD5 | f0c25e1891fa3130b876b1bf69ccf939 |
|
BLAKE2b-256 | 6bf2b866387e71366d74f3ce1cf3b4523f8e5360ee8de5bde50da5daa4dff1ae |