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.392.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1ed4adc30f9143fc4418d2623904a36853d9a013f6e8a9e28ee1d9062cff009 |
|
MD5 | e190adba9aa473b45233586c074dad47 |
|
BLAKE2b-256 | 5e9ecef964a35fa5f8c83078c8359cb27929e14d80874ec7776f2fa308cdcd8d |
Close
Hashes for cdk_lambda_layer_wget-1.0.392-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff064b01a31b1d5d1db5a16352912c41fa8d1d10f0d86e1c764f1a2001d4cbb0 |
|
MD5 | 56ab11a6cfd6b79166cae221b1e8cc6b |
|
BLAKE2b-256 | 1e6440188415bc78adccd1f8817b0fc990af869d3a11fc3c7333c71baca00724 |