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.322.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9901ce8c837f18c27d3638d4a1110409cb2fcad2bfa5e1488c5d9b38c34e82b7 |
|
MD5 | 953ad1559dbd4b38b9558eaa51944b70 |
|
BLAKE2b-256 | b43167a2808fa481f55ce1a4adbdd2b818d0162a6ef6541d9f6c69a094b9515c |
Close
Hashes for cdk_lambda_layer_wget-2.0.322-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7730992a36542810387474312feca170c961b28d4c7b9255058049fca2bfcd25 |
|
MD5 | 922b3dcb241e3cae26a7384f330d623c |
|
BLAKE2b-256 | 7660aa41d2eaa61a77c9565140aaa7d3792d0f2d4cfb9f68537fe5b4f8ac3a65 |