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.255.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d9cb2f280802d3a6da0c647210bda562cfe3091a9b7e875acef9f4983b7d21 |
|
MD5 | 3360045c5fea440696f39ab4928d8c1e |
|
BLAKE2b-256 | 27c90488c1a3e973ade51221d4e4364aed2c520d7f9bd4d494107175ae8e8aa9 |
Close
Hashes for cdk_lambda_layer_wget-1.0.255-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06af7a1018e39038357d780cede88cbd1df24781da5629241ac39b9534d51191 |
|
MD5 | abcaad4fa4da40441a07e050b412a16d |
|
BLAKE2b-256 | 0c2bfa786847af035ecca59126b58042fe086c4ec4dcf53b04cceed7b2739de0 |