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.202.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb8e048a5b788e525e2d4ff64705f60a02063c87373614257fcdd9f6240537f |
|
MD5 | 48146ec52783d6d65f462d67fa883dd0 |
|
BLAKE2b-256 | c5b9c20d7a95704fa58c44fcd1f1f7af3cfb8cb2cceaae1d17846807bd962502 |
Close
Hashes for cdk_lambda_layer_wget-2.0.202-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c241292670b7c0b75be64d4da7ef9fa3b3d051418b9a249ac3c2f6d611e8e6bf |
|
MD5 | d8b8e3fa6b256bd8c82eecf10289d768 |
|
BLAKE2b-256 | fda04006d7afac9ffb4ac15074c8c7c6823222c2c4b2eb13598c6cd822dc5f09 |