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.162.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b79083bb660d05209f1385281af10a84e3b87e3f1be3661a3a03836d2f05bddd |
|
MD5 | cac8b174d3dc15237df160de18ef4036 |
|
BLAKE2b-256 | b253f715ce1bb4b1e128576bc4e6091e9353b0f40e809790d284bc7fbce61443 |
Close
Hashes for cdk_lambda_layer_wget-2.0.162-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de06c64b254e3c63f18a7beceebc4dad6fa32dfeacf84b45d9543a10a4ec5c07 |
|
MD5 | d1085d31663cf94ac20d88e6ff00664a |
|
BLAKE2b-256 | 9bd60691b012e75873e17dc4ec8d59e145485b5b1f7daba779e6f371ee98ab48 |