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.312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6f292f3f7859c6fdaffdb4a237328b63bb815bc6898965efa088c77b3a844a |
|
MD5 | 010757b772557f1d9ae8791a86ade57f |
|
BLAKE2b-256 | f852482426bf24e6c121d90066afb027e8ca27e209811e78cfe4924a9ac5dbde |
Close
Hashes for cdk_lambda_layer_wget-1.0.312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fbe8e2b1659ded4517e64e9a9c8ee611a3b439846bed9858185ed22c90d29bc |
|
MD5 | 55a59218b4019a8376810c78a09a1d93 |
|
BLAKE2b-256 | 181bbb8ba9dc96cd267a508a09e14533beb0f46358da71995d5c7a842d310b69 |