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.285.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b935eb3e760602d798421c6d1af73c5ba2edd1d2eebb0a655c98d640a00db3e7 |
|
MD5 | 57f154e2512c8024fff05b5ced75036d |
|
BLAKE2b-256 | 49bed6c2b29d2e2902593576177b06f752609213397760394d4eec0b5d87dc9b |
Close
Hashes for cdk_lambda_layer_wget-2.0.285-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03599d155e72d94d62703e02356c4317beb14ec46713e813b117ce17b205c814 |
|
MD5 | 35cb9da6c387c65f40817eba9c284b61 |
|
BLAKE2b-256 | e4c9733928e5239d283c1dba09d4bd31045238c9317db7742f7831f23b4d6ca2 |