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.186.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99248ac156d4519f031046f7bceedc1ecb66081d70b53e7d83e215ceb7aecf13 |
|
MD5 | 87db3f421eb92256c3813c5d7e9b6b9c |
|
BLAKE2b-256 | 2f6a9e777e8aa5ddebab16433afc8ad0d54facf8ad6de33b301b56879ce62f27 |
Close
Hashes for cdk_lambda_layer_wget-2.0.186-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc6261f0d50a3e514f0ca46830c1a1e12fc2b6016c05759f4b47f9ba75202719 |
|
MD5 | 42d6fae6b7f552f07f6b4dea9684395c |
|
BLAKE2b-256 | 97619d25fedcc62a3d96ccf8d8264b7271c524e9c547606193a4958f554860ad |