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.65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3036bf39e4281e13446630d8cfcbdab270fa431147a753f470a8f74e5c7fb29d |
|
MD5 | d5f1d05e6a32692f90473e2d75bd4d0b |
|
BLAKE2b-256 | 1844a06a636a627c00118271d542e515e103cca9b16c545d90e037448fbeb29e |
Close
Hashes for cdk_lambda_layer_wget-2.0.65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eaf6a4197b371dacf89ece170a7d61cedfb51a3fdeadeaa2cb3b871099ee7c2 |
|
MD5 | bc80db2811134bc1cb1b6dedb3b6b14e |
|
BLAKE2b-256 | 165437acddaff91ea3893bfa9a5b286bfd083aa301527a07bd0e6d0f9a2b722e |