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.161.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f9f778ce130fa68cc3a244b2e377cf74e8a720eb9873ba52b6600615a98a07b |
|
MD5 | 01267de674918b173f4c5e287578a73c |
|
BLAKE2b-256 | ddbef74648bab3b310d30f4c3e6ce3ce763f923dad19846dc5007f575648ecdb |
Close
Hashes for cdk_lambda_layer_wget-2.0.161-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca0635a3a2f423efeff08720cd528e949e08a54a2b890e548ad65eb662bb5cd |
|
MD5 | 4f6ad0c59ca856b4e3f5bad538fc5529 |
|
BLAKE2b-256 | da2a929e004afda0a3f7ba301f0e545bc78729f8c28cfce53bac1a52fb2a9641 |