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.98.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598736a24b1c93a6b8f74a3a8fd980699d5e368a04ed169a3dab871bf643f0fd |
|
MD5 | ae6d6794947593fb8e2054d2d38c2cca |
|
BLAKE2b-256 | f835e47c6ddfa64ed9ac5f5a4b035ea0cc02916916c4bdbbbb9cc31928af9582 |
Close
Hashes for cdk_lambda_layer_wget-2.0.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb11497a26f33cee3fdc0ef487656c290d235acda7fe3460dac6926f03d5e3f |
|
MD5 | 5b949a0612f8b274916b50a8e68af7f4 |
|
BLAKE2b-256 | 9a3cfdee2d02b71a99c292f15121b4bfbcf624cd2e3a2216bab9f74d48ec00f2 |