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.454.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0b8d395137c3f9fc3bba6d0226fc601dcc72cc1d5fc361a31a08b4501d3201 |
|
MD5 | 96975fbad8ff38d5fb665a3b571110db |
|
BLAKE2b-256 | ff48553c60803059ef5b66cdbc1bccc7a7fe70eb247dc848ffd6a4ed14a57b0a |
Close
Hashes for cdk_lambda_layer_wget-1.0.454-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4f3cab901f50af73f392e75ac4e7f28df4fa3171f8df01b277d302063e1fb5 |
|
MD5 | cd96d6c37083d550a1fa8c1fc2fa2c13 |
|
BLAKE2b-256 | 4ca1963060d9768639391a2470eaffbcbb0df35cbd3170e1c592005af698bc75 |