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.444.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3467c990becf1550cffbce85b0222647d2468870170cbebe9dc05d47cc68577 |
|
MD5 | 6236bc33d23ccaaccc9e306d87961c3f |
|
BLAKE2b-256 | 2c67ec63b7b801d8c47261738fe36dbd61f1df3854d9ee2ff25701650f12b66a |
Close
Hashes for cdk_lambda_layer_wget-1.0.444-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bff0bcab647d59ebabfa0b6577eab1db0c034cf27acfcd17bcdbf8e39609f567 |
|
MD5 | e442f64fa143f4762db61e7686bf6d7f |
|
BLAKE2b-256 | f5efd0d88ada36ca19f9dcffc944b6dc0c04cdd1be89cea74538fc40d741ef38 |