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.198.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b7bec886f265695467b0d8d5ea3a836a9503f45055258db44941d3eae2e3f4 |
|
MD5 | 2fd7d8f7893e1c5d6184682dce88555f |
|
BLAKE2b-256 | 0e6b7b95adc63b564da6aedeae521111bf23b773c794072b88a473bc1216c26b |
Close
Hashes for cdk_lambda_layer_wget-2.0.198-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9204dc75a96615f60868deee417c71c47a674c5c735a1e1d6419b1b853a167f |
|
MD5 | 5a998b5761abf9c3d79e8d0bb037efd3 |
|
BLAKE2b-256 | 5350c65180ed86e547471e3f98fcb0d5725021d5b6753624c204fad2cb6c6f20 |