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.314.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec4fe4bb33e8f1c163f9e475d91e8ae2c3d1faf058b93a36b68d8be224932f3d |
|
MD5 | 8daafec5a185e07d968038f77f307cfe |
|
BLAKE2b-256 | b8a73439baeb4fc13a5a98ecfae654a4818a5d61ef493ca956ca6f050dd80b59 |
Close
Hashes for cdk_lambda_layer_wget-1.0.314-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b382e82ec49d738755ab65b44ce4647bea8d9695ac0d4d48d5e33face6a87e63 |
|
MD5 | e2b3a15b9754660b5ebfbf98c790e0ae |
|
BLAKE2b-256 | 63be7298743ddab1f5a113617f64f7f38122fe40f05394671ee41dcc0436421f |