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.400.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d60b5f5df969e41ec7c934eb7d36282a28e90dee2515654db53969d94523349 |
|
MD5 | 30deae23d6e07053cefbb6aa4bb8b5fa |
|
BLAKE2b-256 | 9dc94120bcb08d181c418b221f10c9dad0cb14d0790ae77dc9718c3ce24c639e |
Close
Hashes for cdk_lambda_layer_wget-2.0.400-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641d53228f0738ab67d0e7b7a205c5b017ba755c4c0d4c6b653b8dd178b0c5e3 |
|
MD5 | 2077c61f76abea81edfe03896b027a96 |
|
BLAKE2b-256 | e8f3b8c440d08d70ea0c3072870ef9cd072f7d412e0d8df71c94fb94384086ec |