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.240.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a69dc72267eb0a6c166e643fbb7c3a243eb0bb81c241fe50d1eb54486a98dd |
|
MD5 | 9169a16a638848d294aa9e3e0113bde7 |
|
BLAKE2b-256 | 108b30ceaf9f0c27f7f303af578ad601136155366da8879c6cf3abe382a21385 |
Close
Hashes for cdk_lambda_layer_wget-2.0.240-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b70aae5002ae5c94d703b83e04f4332c68008bddfaf90c562622a49b4518f061 |
|
MD5 | fbfdf1b09a6eae9556acc6334f69fbbd |
|
BLAKE2b-256 | c0cf2860b620085249fd101be49655836eb3acdcc5db1e1f08bb728e80426e4f |