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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fb2c4cc9acfdaad507230893f59a326c56bc30129b4ad8d2b87c8c6b3af498e |
|
MD5 | 5776b50c9f2f47838396032dd9c6212d |
|
BLAKE2b-256 | 2279ea192ee20b4be437379d6b5986d1fcce436915f783561d0e0ff0f813d441 |
Close
Hashes for cdk_lambda_layer_wget-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58c49d091979284807e303e6896cf17de2354081bd2af9fb417f2a7a087d9a0 |
|
MD5 | 4b4305e6b46b250af38959e3a47d8853 |
|
BLAKE2b-256 | d07ec26923024bdd67146519310ff125652e78eb9c03d64be236aedf8890c823 |