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.69.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6d2d694a7a0330238f71fa5bd37ca8ef9dfcfbac42b9d3e070f63e2cf1ea79 |
|
MD5 | 4de488954c6959ffd5b7fec75cfa5bff |
|
BLAKE2b-256 | 785465b5bd327f6c54576b71d52b6bfe5b9894c571c96f0589d8b220f2c26043 |
Close
Hashes for cdk_lambda_layer_wget-2.0.69-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34660021e7604ea82749d044cc386b29fcd3cf213ec03dc3c64850ea30044f4a |
|
MD5 | 4a6c6565c4d7d8ea8b9aa6c28f9f9653 |
|
BLAKE2b-256 | 65288029ebe80901d54b07ab8a0ce58ebb3c9cdcd9bc6eb5220d1388eb24544e |