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.390.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e8c9b774c2a564014ec61718121c64235325d7ab93b86a61a850811dea3c99 |
|
MD5 | 45a5d716800a3d4ee17997217c467b51 |
|
BLAKE2b-256 | ac97863fd5e8b1d811273ce8b2a9aac6d4549b4fa054c730372ec045f9b27a4d |
Close
Hashes for cdk_lambda_layer_wget-1.0.390-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e93d15c9f987d691c4f4951eb8e270c0e0ecb47fe2db7aa5288e2e571f40a8 |
|
MD5 | 0e7a2cbd34bc763f89117fcd4e784b9a |
|
BLAKE2b-256 | 15cb5d017c8f04cbadbc352bfe4c44a137a92684a526dcba25a632b1a17a3d70 |