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.281.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b058bf65bd8966ad26ca68c0230670834864eefe3849f04d5f7bfbe14e68530e |
|
MD5 | ffaa7c143e21e9dbecb1a09ade60339a |
|
BLAKE2b-256 | 2437b438d1ab4f07cd82cbd8220c84e8214cc365d1aa0064935191ca0721898b |
Close
Hashes for cdk_lambda_layer_wget-2.0.281-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019540d225345039988e03e60dc6b82db040cba1f61bea6449881629427a03c7 |
|
MD5 | 8c181880f6623cd461a7482674a3f18c |
|
BLAKE2b-256 | e53a9ca82769d8d4b6355dd9bcc6b7e591fac5becedaa9d7d5319b5336c2fec3 |