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.164.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ebad1e030e7b13a7b497228d5069f2beea66edce7a9eb050939168aa80eabe9 |
|
MD5 | d5133732553136dbbdb9078c17c63a63 |
|
BLAKE2b-256 | 6007cb9ff592e51dd4abb758a8d9d28898330a4c7bea75a043b21415fb1a50f2 |
Close
Hashes for cdk_lambda_layer_wget-1.0.164-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e9fe247a51b186b88048a68687c2e424f028d9a2b770fd19e64ff7fdabd5f8 |
|
MD5 | 82b3279eddb5dbd02b0b579bd9359a97 |
|
BLAKE2b-256 | 43d0a495eb274e4e24be85a8b5185c1a3f74091e388c64daa37810986737306f |