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.352.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d37e888bd594af2e77700caad198373f6a9bf87dc2ef242da298eb2cab256a |
|
MD5 | 793120ff46dcfc71f7e37d846e5d3a60 |
|
BLAKE2b-256 | 14bb93f0c8f2f0df1e461b104bb41bf9f8b41a58df03c789d6cea8cdeec8b9a8 |
Close
Hashes for cdk_lambda_layer_wget-2.0.352-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0da29d9f3a8e38dd67ed39f3a347f253381260e71a75a586cd7c7f6a6be1c4a |
|
MD5 | b6bc0f98e80900aa0348c627c61aa452 |
|
BLAKE2b-256 | f3b62eaff52ebd4b2526ee93d1b3eaa730b1d29faa60dbe9838cc1d9e9541dd2 |