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.106.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23faeee493063f6cf2182f88779615d75e0e78c2299275176079b4d4c32c60fc |
|
MD5 | 7b5375dc96b805b97a5e6c33ced2c2db |
|
BLAKE2b-256 | 2882f6a1cf4c061908ca4a7670a195a162a0d407bfc7cbd9bc7d765d306e0fb6 |
Close
Hashes for cdk_lambda_layer_wget-2.0.106-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab35a02d43f50f74a5a64b3cc9d4cad14dc82fccb15f56a0280697172b47ac4a |
|
MD5 | a9673ae97010bfeb44eac5d9ba7612df |
|
BLAKE2b-256 | 8e02e9318b4222e6db0fc31efb47c35da263270c38c7a37bcde823831f394ad4 |