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.260.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561acda45fea43885cfeefbbb3174efc482849933e5d22e8e542f5d7f080e764 |
|
MD5 | ecf386e8c6b14be17489725d48326223 |
|
BLAKE2b-256 | d0fc997ea30e653f35141d2d8fc1390f22dad1322e369711a783793a78ba7bff |
Close
Hashes for cdk_lambda_layer_wget-1.0.260-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c244571551e781da0c581185d2f09d56defdf941aa969fef027049993df58d |
|
MD5 | 98b33818383dc78101f6a56f580863ae |
|
BLAKE2b-256 | 2384c6d3ee159cc95580257346511f35f37551a5e79f508b8aad6ce8c749c2e1 |