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.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6166d67c74dbff54d86441971f04d520e462f2e0fba78c1198a2d3d8212a59c |
|
MD5 | 438d95d2928de6b1ee28c1417b193903 |
|
BLAKE2b-256 | 7ddbb9ef90392114c39fb6ce12c83f18794bf7be4bedf032ca901848bbdfbac2 |
Close
Hashes for cdk_lambda_layer_wget-2.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62649d2ba4a3f73c749527494d930d1b88cc25997552de19238633be1370e3b9 |
|
MD5 | 283559e216fb20850dc2e6aa3384e522 |
|
BLAKE2b-256 | 1825ba359d21bdf36a1f67c8a6cb96b36c535d09f8a7177d4701adaad7e7f808 |