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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c79806a8588e9d21c1d1a75e79b078a64b499098f2f17e1f7ed6a97ba94db49 |
|
MD5 | 53bf6887c44b6676e22e1e13e3879f68 |
|
BLAKE2b-256 | 2864673263751e2d2970f866cedd3c1bc8323e9cda1f4e58bf7d0d04a5c00d82 |
Close
Hashes for cdk_lambda_layer_wget-2.0.135-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecf63ce7688154de9dc293d22ec76940087ace36e339bdeb4b83fc0dc5216b9a |
|
MD5 | 7f1b3063b52b4425cbb03102940e56a9 |
|
BLAKE2b-256 | 7dce80cc947b04dcaf05bf11f4cfed6175a2e5316dd4bf5ba1ae787af843c9ae |