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.285.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08f6394a07e41171cda1b09dac192ad685bdf262996d5ed1ef115b578a1aff1c |
|
MD5 | 547e55947c3094995bfd29337d46d376 |
|
BLAKE2b-256 | 623904952c865a083dcedd57e939a7eb5ee0b60788b210dad09ec9c27aaf600e |
Close
Hashes for cdk_lambda_layer_wget-1.0.285-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16717c6b51067e483540e63d17d97e7edfcb34d84fe81d19c2c25c0e14a09c76 |
|
MD5 | 3438f9ecace3294402c984e289c787d8 |
|
BLAKE2b-256 | 659fd2515d26c9fcdc4b16ecd3dc8c994aef589b3fca4d0a55b38b8e0a54f3ad |