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.216.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61c364f03564612eeabe8890b10fb6ba45a537abc54b328e1b747b447bf1c3d2 |
|
MD5 | 8821e23eb74f3c87191164571b5f453d |
|
BLAKE2b-256 | b9a70a561403972b5bdbbc9ca2fcfcd1cf398a75b30e4fbd12f8915fe269c46d |
Close
Hashes for cdk_lambda_layer_wget-2.0.216-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba11c7b4cd9d634b296457c7d3ae762e3f4dee97483156ea0b1e4a1ec7244ecc |
|
MD5 | 9d1bda6a2ea0e77bb81bff43a7e877f3 |
|
BLAKE2b-256 | deddcae07857fba91bc48d68adfc17376e390474054e7302998cf9ef32371468 |