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.237.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fda714e84132b2cf2a1b911ef388d184a28778907beace4b5ed8ed359e8f3ba |
|
MD5 | 4fab51014daf02ea54fc0e2d74279980 |
|
BLAKE2b-256 | eb000126326a6e623ff4ac1e05d258267e33bb78c4b5568d2c272e092dcaa891 |
Close
Hashes for cdk_lambda_layer_wget-1.0.237-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8d7259d9675958884a443771001560c85eaf6912ab556defe5b9d35558576d |
|
MD5 | 2030f8e62cac967d1570d627e1bcb948 |
|
BLAKE2b-256 | 09a47bf90ff06b8b397110abfa7a07cb9a1b9dfc83c5460446b9d9afb3f8c86d |