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.386.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44c6fb15b0a66d7740ee651d7448a308af08af6ed1a0a8c81d7b70568d17d346 |
|
MD5 | 56b01d93072d78f38a45c6099ebe7cb0 |
|
BLAKE2b-256 | ac0451491da89345d2e3f7622d774b199a6ca0d1e17a10613327a1f34fc2fd9d |
Close
Hashes for cdk_lambda_layer_wget-1.0.386-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e0ff71fe086e05b668dd40b080adfd10e33c35480fa676bea508cc3c938f315 |
|
MD5 | 4742992378292eb4b16e835859354999 |
|
BLAKE2b-256 | 57a0d22eb878ce5ff5c25f3614a7d4051dbacf19317af6d4c350c7553b7fd361 |