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.125.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f1959337006adfa60fad5b3f46bd029cbf6d07af4a64ffc1e81bd76a461a58c |
|
MD5 | a5581e12a688c281c7488f574c26c88c |
|
BLAKE2b-256 | ed63847e56159f0dc1ad8180ec34d272c2a25a3925f17275c0eae1acd3bb75bc |
Close
Hashes for cdk_lambda_layer_wget-2.0.125-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28fcc935aa38efdbd09f4082f2488263cd9d02f62fa8c297bb75d392b1b0c2fe |
|
MD5 | 67733a0b29d37c4a1a52a59de495adbb |
|
BLAKE2b-256 | 3ef0ea19eebd6a347d7d7043332643e94175846dc5cf71c4edd1ec00a578ab81 |