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.318.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c237986c532e8403630bb883512e4aa1fb67e28de5c78982cf9734da459fd77b |
|
MD5 | 622565fe467e81f2ba36c7dd87326aed |
|
BLAKE2b-256 | c330e6376d612970c6c9f92e1ff8d8f681ce65024273ec150fbb60b1b95ee236 |
Close
Hashes for cdk_lambda_layer_wget-2.0.318-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53a3f48c4b02b45bb48f46635bf02f64dd9103460c4998c860937f3ce807d27 |
|
MD5 | 6e39eac9848f7f20e91bd268f7c8f4b8 |
|
BLAKE2b-256 | 7bf8b745b0e6c421df320674144a0cac90bd3d751144a9edc3f01711abbc9567 |