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.416.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c827c6b98e995e0253423662c089af09724f053ebc67935ddce54aad1fefc750 |
|
MD5 | c4dbd1d12d7affcedee973809fa97a8e |
|
BLAKE2b-256 | 11113f48128d48d9d9e41f27293654abc4d21cd12b180d8d2705a8d039001c42 |
Close
Hashes for cdk_lambda_layer_wget-1.0.416-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264ee6044c002230680958c9c72ec8da04d3f2cde67ceab7dcb45581f1e93d42 |
|
MD5 | d58fa5931d4c2f0615a34d6cbef66cde |
|
BLAKE2b-256 | b60378202edd3b75d64737e2cfdc9398628624a81b15aae4df00b66f32e26226 |