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.114.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781a86143c4450fc01d4f54bba6efe56c4a3681e4f010332b8777b2ba5bf1134 |
|
MD5 | 46feef07c78c89ded7f604b6ad6477b4 |
|
BLAKE2b-256 | fce39bb9d64eadd9edc170f0c0a3e060e94d64fda317071e488476cabeb60e67 |
Close
Hashes for cdk_lambda_layer_wget-1.0.114-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fd5b75ca994f2133c0466417430498a05c3229fd2e877848ebe9429471242a2 |
|
MD5 | c880e80a9201bff016af7f267d51d371 |
|
BLAKE2b-256 | 4174d287fe5e71b9b5824c8ebfa9ba92d35e67db91d27f0c5239520047d60291 |