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.370.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4f581c9467f1f4c61946f54bab9fc434ac44a1695725047c2efaaa32cff7a3a |
|
MD5 | 77e637d39a7bfd37d04e8aa47c6876fa |
|
BLAKE2b-256 | b571afa29682febabe13b5acf574b8766faa2f5bbcfb43ebb1098e113d6f0874 |
Close
Hashes for cdk_lambda_layer_wget-2.0.370-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0673a2a0e2c196cd58dbe39202d04f73aa5fb608bff924644f589ffdcec04456 |
|
MD5 | 93858409b55019aeb9ead769cf6d7f17 |
|
BLAKE2b-256 | 4084a06551a01d926ddc7119ca65164388825440ffc2098cd0596a07f5e79a95 |