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.420.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4388b596330c9f8c2d04151f2a66d6872593ae07f959f69323d2e2dac40fc9d |
|
MD5 | 53ebf9478e7257830e42d355eba0f35c |
|
BLAKE2b-256 | 506345870071df8ae5834cc465fba2af7004e9fa62ab43c33da138b719f00d3f |
Close
Hashes for cdk_lambda_layer_wget-2.0.420-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1affb4fe56d7802e782d03f5b32e60da9e5b413ea6024e4dbc867b96196cbb73 |
|
MD5 | f0c18dae8251bbe48e8de5c9286ec5e5 |
|
BLAKE2b-256 | 8c0a6952e2babeda208190f9e308ee59f9ff2cf7cd048e3472ac5883ac54ba16 |