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.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac9cd81ed5edf2d3ca19b64fb350b6276f9bac8cf6ed0742fa278ed68a9fb6a |
|
MD5 | 6a9a333b2bee84e8bcda8d1896e318c6 |
|
BLAKE2b-256 | 050054ee2ce9f974f238a46ced39385b2e1caa48e1434173ef16e32276b9ec07 |
Close
Hashes for cdk_lambda_layer_wget-2.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b20bdad51967801d3d7eff3676bf508e3a7d52cfa08fdc1061d9c3d8edfac9 |
|
MD5 | ab94713b6226cd2f137bcaa175fc4b30 |
|
BLAKE2b-256 | 1b2b81f8ccc89db72c9276f8b9a8859e9b3e8f02bb6601e869382190cfd28bfd |