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.218.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff3e770129f0643c6ac39665ab559b2e0ed2bc4f4aa33acdf28eff39b80eeef |
|
MD5 | 085d97783fcec238275b247f7deade48 |
|
BLAKE2b-256 | 03a7efe820123db3013f017fdccde59cdf16bfc2439811d819a9f0b8b03ff9ef |
Close
Hashes for cdk_lambda_layer_wget-2.0.218-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a92008ebada05ffc934af97781abe34a35a391f7dcc66ae8669dccecac5f7639 |
|
MD5 | 8e2d383cc8e4ffb56767b2069eaf4db9 |
|
BLAKE2b-256 | 97210f56ae4c7aa0cc43a4b142c32669e60c5757fce789a9378ba56f1e1aa56d |