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.386.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 807ab3bb339dff4ca50ce4179139fa5afa2dcfa9d9d727b0e553a1d192c2b2b7 |
|
MD5 | 3e9620aaab45d88465f4a145993d396b |
|
BLAKE2b-256 | 83513f0b3a390a7a09055a4df49bc21f3de025df81f12117544bb7116e9a99ee |
Close
Hashes for cdk_lambda_layer_wget-2.0.386-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d381fdf729e43721006fb1dd964cec9773a05b33aeac56161b11f7209c0c93b7 |
|
MD5 | 0f4d8ac4c58437a3e85fc9e368b54160 |
|
BLAKE2b-256 | aef06b7b3e50d089ca5bd8428b669059ce02005490ecf7a10e8ebe613e18aa2c |