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.286.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c574dc837d776680c5a41290ecfddee25f65dd664172dae71d9534ca9330b19 |
|
MD5 | 580ec06bbebeea65e73fe51ca041b609 |
|
BLAKE2b-256 | 063e364a30dcf401f0f303a677d020a15217328b879a4057fa044ff7e910b0a9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.286-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 933c6f753611b81e1692f4da6f37141f5dbf9d28c55aa7e8f47f126301d52e0f |
|
MD5 | f6e2394b12ca68c4e39ce611155dfc04 |
|
BLAKE2b-256 | 3e6a3d4b7445bca728d535a4369a223ed8288d87ffd8a9b8d4eb67e369a1d7a9 |