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.281.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6907b9fe87aa1bff38c9e2aa1c9cc6b47335505cf4901f372b7a1a39e6eeaa95 |
|
MD5 | 606c9a8589cac723018bd0bcc59cf7ec |
|
BLAKE2b-256 | b290cdab6afd0823009f09da2b199b742eb189fb5aae4f00b5de2eb28c2f1c7f |
Close
Hashes for cdk_lambda_layer_wget-1.0.281-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d03388efe129c019eaca0c63d8228f701c83ccb8d7531e4f0bc79ad41160d16 |
|
MD5 | d4b12197e1c1e48c03378da100d6a5bf |
|
BLAKE2b-256 | 9a816237946c7fd73bf57a39432aea3d0468f78639fb55d244d33d5a144988aa |