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.385.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005c778480910d3a7cab9e7f3d7963b4e78191000c641c4d108fbd6174bffc8b |
|
MD5 | 131311b93cae6015e975bbf82d232fb6 |
|
BLAKE2b-256 | 50407a091e5b65a45c4097793d40cb14f46639d87b6a9ef2602281c8c1f0e31c |
Close
Hashes for cdk_lambda_layer_wget-1.0.385-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 039a89874ba0ce64dae3f3d0e49ed81b4fd3540562a4410ed3ee29b421b6ff3a |
|
MD5 | 5a5854ae651f708413f9e1fb4d103646 |
|
BLAKE2b-256 | ec4c9b6784b5940a739bcbf8e771b757304dc3a365209e789ef584b4d2afe5ee |