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.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0bb80dafbdb05c1909b298a029f447e7a5e0cdaaa4efbf67657e6770e31529b |
|
MD5 | d10492ff770e3857786f1d5afaf9f849 |
|
BLAKE2b-256 | 67d3d5089cc24f1b00dfe84f407686d6d21bd943b834873b84c93e6098cc4fcc |
Close
Hashes for cdk_lambda_layer_wget-2.0.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a43a278911b3dfe76623ea222d371a1e670ab2ef19b655896b6e393be0e8962 |
|
MD5 | a662841362b0be1d55babba5023146ed |
|
BLAKE2b-256 | 7a3eec05a7d74fd2b97ca0189d077017fb902aa85faa3792b3f4ea4297e8d7e5 |