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.307.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b88584058bc70a42e945462d9f92598312a59c3ca36039b667e5bdf03d0b208c |
|
MD5 | 56befaa6feec94cd7de81a14ab2c9a86 |
|
BLAKE2b-256 | 6b869596900461d90214c45d139c5a7a5bd48d8c85a9df58c7ac466eeaa4e28b |
Close
Hashes for cdk_lambda_layer_wget-2.0.307-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ce0f5f801b0af4fe791534bde666e2fe7b5def1dcd26e71d54d47c94c1bde93 |
|
MD5 | 8e6b4d5795366c50d17418dd17d25ba5 |
|
BLAKE2b-256 | f4ebdbe26bb7a52cb9e2be7d242be7bdbd364d64d8f540f46ce0217ed57acaa6 |