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.145.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c33822f475303c823f2a6d27776f7e8a21b0a4907824f998bc058d859b4b6a |
|
MD5 | 0df0f8e3ff1d1c906bf9f6a2af4e8300 |
|
BLAKE2b-256 | 6e698b76cccea82c077f6a517deba796015299131bc1d1d15e207617d23b78ee |
Close
Hashes for cdk_lambda_layer_wget-1.0.145-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4209234e95d9ba93c75f83dc3787ecee8faf4afb9c4bfa0fb739ad6891418ff |
|
MD5 | f5376e7c25022d9430bd05681ef72165 |
|
BLAKE2b-256 | 533760734ce2865643ca897da243097a239b34dec7fbbc7402b56fb58562efcb |