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.159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8730ff3fd5574866497ee7f9b955da2d624bfb0bb87f096951f0c938a22c9cd0 |
|
MD5 | 462304cb48f44d6ca4ed3b6517d2bd0f |
|
BLAKE2b-256 | 78d4701cee2e973fb3e82e9b91d7dcf041e3ad0140d395da98c7fecb86dd48b5 |
Close
Hashes for cdk_lambda_layer_wget-1.0.159-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab4dbe4a1995c024451154feae2a276517a3e6b5396c840dd178102b10ecbcf0 |
|
MD5 | 5f5891b047b55450e3aca1b0b7a0f2a2 |
|
BLAKE2b-256 | bb931624467c15e0d052913290ae5cd3d2316677bf463af4a9ea84c937e22af4 |