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.367.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc53e19352896a943ecc182324bb5ed00332626a9fc3f3824983a073f6795d86 |
|
MD5 | 290b849c557ed9c95097b892f228349a |
|
BLAKE2b-256 | ac8247be1664ef783956cc4a9f68cd4cb0b8e68d7f75224fe4bf851f6881e0eb |
Close
Hashes for cdk_lambda_layer_wget-1.0.367-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 192310fa4702f93593243f2799551846120050d9a17646ac28556e678c598405 |
|
MD5 | aac9d6f6df870eb4bb58bfe6ab656750 |
|
BLAKE2b-256 | b488889e694a261fee2d21344dd1762f2ec5a8d36c31008807ca7987679e3ca7 |