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.226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e93a18a0739b157e1ab8f11e2b4f87485c862a222994bd8da2a20a1a27d34d |
|
MD5 | 4e6d3a96ba44a69defb9041141b04986 |
|
BLAKE2b-256 | d3509d9ddea8b96cf165e39cde81a4bba5fef0ac5833d634ca7a8d30bc97a751 |
Close
Hashes for cdk_lambda_layer_wget-1.0.226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361cd119f24a9e9305e4b23fa139afd70732f2c337ef7768df0f19108fe1d7b2 |
|
MD5 | b4aca7eb9c342ae99d44752a5415b757 |
|
BLAKE2b-256 | 267440e68e0810d3d45338ad3a2586a9b80c6f9cff2bca89f4fa43571583f911 |