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-1.0.384.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de46eafbe79274c55307d6ad9a7e78645bf261ee84eed75c51b1b239f924c8f2 |
|
MD5 | 16c53512538f05f63e7deb5055728703 |
|
BLAKE2b-256 | 6b4fac12d55f455fd7bc2380fb63da1e637778686cd2d853e77a0e4bb39ef8f1 |
Close
Hashes for cdk_lambda_layer_wget-1.0.384-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0383094cf88c0546e4e5e1304da92b959e70e2f156a06e634f2e9f11681bac |
|
MD5 | 101b3aeff37ac2a5c77b45e686a3b4ae |
|
BLAKE2b-256 | 9c93fca44843ddca044234d736a9b6049bfe40b1a01d2217a4c84e5dbd02a0c3 |