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.55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee0519287c71d43872e8d75603c152ef577653acc001a9d1255fa826f2492b8 |
|
MD5 | 5f85ceb2643566309a81f1635febc4b1 |
|
BLAKE2b-256 | cf75511991dde1e26ab52915f8781c7703a7ede154f37dbc10bc7662c66e4750 |
Close
Hashes for cdk_lambda_layer_wget-2.0.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 921bd8d6a7e958e80010833db1d623994060b249a7e6fe5b9fb292586fe11360 |
|
MD5 | 3ab038788dd55a91f0da641c7e833386 |
|
BLAKE2b-256 | 03c838b13134edd132da7b1e7c990aad4b33b12bb679f30a969de99ed9e91941 |