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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb580290988624f6fb38b496a60b2dd33a2d29452515d4ea075fde837bfe4d3e |
|
MD5 | 5b0c041d5d2d29b32c2ea36652341cba |
|
BLAKE2b-256 | b58f418e8541f5abfccfef74eab26de306ae2136b566265c8515281631d50b79 |
Close
Hashes for cdk_lambda_layer_wget-2.0.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd7935361528fe41142d3f9064936acc7b0fe265112e6e1b6daaa3a75bc719d1 |
|
MD5 | 4d7d20acc8024bc23bdc872bb9e8bad5 |
|
BLAKE2b-256 | 65d7ae8fef93198f1ac8eaa9671d796adfc56539953cdc5d57409f919da6ca31 |