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.109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f80b4fde0ae9b6fe5abb9fda22c56b3d05a578d11816709718ed4931af492e5 |
|
MD5 | 58a18ea68c4a6569916de7c8af315203 |
|
BLAKE2b-256 | c5194f2a49c3242d2240790bd4dd7d5cdd50070a67ed5d0f8ac8fedd36272b84 |
Close
Hashes for cdk_lambda_layer_wget-1.0.109-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a945d3dc8ef2c0874a466fa77183e80a954d44278486315940c4f197fc451978 |
|
MD5 | bb89bcbbb7b446c434e54039de6b44e1 |
|
BLAKE2b-256 | 2b3e593c6485a15d08ece2f10cb177ea7e8a4694bdd71c1b2702b144a8ff8b67 |