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.307.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ed292e55f710312450aeed0add7e677427cba096904f802f6dac618a294ff4 |
|
MD5 | 7db341dc6cb0866cb7530e7957bab054 |
|
BLAKE2b-256 | 08c10d1b52a4b14323c45d39b17fa85665a627f9df6424ccc232241d75ae1787 |
Close
Hashes for cdk_lambda_layer_wget-1.0.307-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e2b2298f02d024dcb8fab8ef775a34ddbd0f9124935312d1090bd91fbed6668 |
|
MD5 | a2e13e350c2bfd23836c26ccb7aea88b |
|
BLAKE2b-256 | a853be23092b130fd1e60b06fa7adfdfbd1b35307dc483a5634f06478e03711a |