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.323.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0935d3ed2a647720380fd4a0d992f42ec1b3c2cb87dd2facb94726125aa9aff |
|
MD5 | bbc84a328a6f9ac1cab61bcb4f834aac |
|
BLAKE2b-256 | ce1ddc5364a6cc5e5d1b0171384e94d4e650d0dc596bca93384dc5391631ff17 |
Close
Hashes for cdk_lambda_layer_wget-1.0.323-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11e7b718f6925efb13d0a9834374ecde156db6cbca5b4d0ecd74cc143ee54dc6 |
|
MD5 | 2311177164e9ae7612c6b4d1ffe83043 |
|
BLAKE2b-256 | 047e5811a38f112098afd8ec5dd857903847ab4fd6ad80dcbfe77016652085dc |