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.309.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35223c998f50dcbc7f5c5b6efea56fc8307c294e01bbaa49f8e2253254e49eb |
|
MD5 | d16720717b458060aef9e90ce8a9161e |
|
BLAKE2b-256 | 04269163f40eaab94377042704a019c63dae297f8a766915f57d5d2828a58b11 |
Close
Hashes for cdk_lambda_layer_wget-2.0.309-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a09a07a5ace3e4485580e83c71c79b56cf9e0e53609633f990ea774ea2242d37 |
|
MD5 | 6032055b2b2ffe8d4567b815a6256afe |
|
BLAKE2b-256 | 86c8e7ace2acd68845f4e836441b04461d18d09859203e076ebecd6f56e26546 |