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.360.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ab103d110206b6477de9594c1cc8a07b2f0cd7f0da6fb418c612b7173d5dbd |
|
MD5 | 8d32f97fa881bc9b8301cdd823a386dd |
|
BLAKE2b-256 | a31b0cc857bb23c37568d309bfc63ce62f6e691988db426540a5c74aeb72bc4e |
Close
Hashes for cdk_lambda_layer_wget-2.0.360-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9018c6f711c54284eb163373a7bc9e109e932d8d417091c41dce8dd581f0c12 |
|
MD5 | 1ae1cda974500cca37b77523445b4579 |
|
BLAKE2b-256 | bfca386f8f10c531b19f32048c61ae50458f40de37ff5d9c545d129bfadc7bc3 |