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.138.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a274cf315143f588234c47f6b44a4235ad660a2c928cf2d0cd8d704e76b70d3 |
|
MD5 | 388f4a0be9afd982d84f6aba982739af |
|
BLAKE2b-256 | a7f179b223d2136af65664944e1e2414367de5ed325733f3f101ef940303d0f9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.138-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8198a28a259c3bb127436aef56fd416ed6674c06bb9ddca01912df0ac6c83be |
|
MD5 | 461475d917c326dc19a39bcced516a2d |
|
BLAKE2b-256 | b386f0ce92a508717831b9d5d0b429ea1fb50eed6700a314f3077a965d299931 |