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.181.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf4d770757db6d198a1e435dce113ab0fa4fcb47472c2e1bed0fddcffa1426d |
|
MD5 | 92329620b9df52151e9569c7a37f1a5a |
|
BLAKE2b-256 | 2eeaaf0e05a40729376575bb8fe794567d5e4c1ab4ca0c167c47ffc1b8a25828 |
Close
Hashes for cdk_lambda_layer_wget-2.0.181-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c5fc1b77fb868d5174940b7afe5a870432cab3c3274a08622d8689be7102c3 |
|
MD5 | 3c9b9f7f2f1d928b89ffda838b947ec7 |
|
BLAKE2b-256 | f1ca8bc1d5f5d275f78da14ba8114f0229eaf5685c47215714a57fa634f14734 |