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-2.0.333.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebc680bbd51c8204939aa09fdfbbbf0f220bdefeae68cff4ce8c14ff01673903 |
|
MD5 | 832099efd7d349a052189ef0c30b3aef |
|
BLAKE2b-256 | d062cadba129dd44525397881466768eb05928976ec0f7d7e21a0a5a9f1462fc |
Close
Hashes for cdk_lambda_layer_wget-2.0.333-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fe10108f4e10e1cdc27cc3471aa6dbfdb888744596ffc9604adfc3a78f6b94d |
|
MD5 | 8c644e5351f068248e0be33873841879 |
|
BLAKE2b-256 | 265f82e2656d765058d5c8b8ab8c0240db93e2c5e573f1e032a4fac1908bd349 |