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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b598d97afbf11c1f3e1a4baf1d1421accf12f609294181519ba2094b16295618 |
|
MD5 | 3ca839286c84a1a503fb83b83041b826 |
|
BLAKE2b-256 | 4983b63909e9c0cecba28f4f6ce477957a67421a709b8a996f8bd87b4d2c6f9c |
Close
Hashes for cdk_lambda_layer_wget-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4487935da2d3431036c92e5220f43afb4fc8e2665e11b7eb2d48a79c08d61ed8 |
|
MD5 | 9b7394494939fdd5e754f48801b39712 |
|
BLAKE2b-256 | 54d5d148eed5e6f2b96b88085641856eb1118eeecb867b9059f27ef6f66d5811 |