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.341.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b45ec47cd01cf298310fa27bff2031d90221598306bb2efb29c31caaf4caf8 |
|
MD5 | 450e076b1d4dc3ead8edcba08cc883bc |
|
BLAKE2b-256 | dc423eb688d52afb94da8d33e34ebbbfeaad4b336c51deee2d89796e93bbde80 |
Close
Hashes for cdk_lambda_layer_wget-2.0.341-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9088953fb1d68f25b8c8192d36b3c855ced5e20b08adae7ee170b224ed2c0118 |
|
MD5 | 4b495443c0d43282689f7ff1fb6af6bc |
|
BLAKE2b-256 | 9ffe864445c27eb1a6dd575e7a91f9a215e8f749778615a3e6fea3610799c109 |