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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0006e303a6e07dbb5ea6077bbf34356ecd8f76a4ed45f92cde933a221171e4 |
|
MD5 | 402dbe49dd0a643fb30b9b7848a28bb9 |
|
BLAKE2b-256 | 26fdf087683bde41568347d8a0035db3c3deeb0431969a4824d68a482ec62fc6 |
Close
Hashes for cdk_lambda_layer_wget-1.0.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c3cc7392473171f255972e4cbfd9cb0b7ac12d25d054f79eeda255e60a84d9 |
|
MD5 | 3b87e5115d963ac374ec83f4a25d45c6 |
|
BLAKE2b-256 | 7a5b87b1cdbfe7b6bb328ce3fe99ffa2fe824c70e8a6626de22fa2c1e795f363 |