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.242.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ca8b5998a65ee123c63ad416e8d649f0dc55862af820e6121bf6f66fad9504 |
|
MD5 | 4f4d4e3bcf4c0f9fca0650a912d65a8f |
|
BLAKE2b-256 | a7c482568e2da681635ad29b5eb2f5d9d43b07c5cbaff667fd5de8089e15aa93 |
Close
Hashes for cdk_lambda_layer_wget-1.0.242-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b3ad03dc35d4a3c21d7699513411569f70d48985ce11fc5cb15df7916030e3 |
|
MD5 | e03f38ac0ca5607de1bbe684776b924b |
|
BLAKE2b-256 | e3cd4a9f9a15c8b8d46389513cbdadf099d40779ede258555182fa502ac7e586 |