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.160.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcdce4895b37aaa9da2960d87dedd403fd925a4a1c0be4cd7ccfccdf3289b134 |
|
MD5 | 6c0c56aa675dff025c8180a6df7c3762 |
|
BLAKE2b-256 | 04f05c11dd8e2dba3c32dd7907652f3476ad2355b2fdbe14bedd270f0f55041f |
Close
Hashes for cdk_lambda_layer_wget-2.0.160-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659f2503b6e9d7bd2e3c637df1e0a8126dd6b7e266e889a9a369f95e498f7b61 |
|
MD5 | 85cbee9358047825f2eb3e6f12c197a7 |
|
BLAKE2b-256 | 57b6d7ad3aaacd53fddc2e368d8c96edd8846f541b15a31bd6ca8b536bd04907 |