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.449.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2904378a551998013af878e64dae964aab47169b661d18ec3b0ad4c5b8df9764 |
|
MD5 | c143a0654987efa97fa015d834fc11b6 |
|
BLAKE2b-256 | a8a12d5e958fbc95b2fd7853851dd042397ff1598720669749640e2307dc65e2 |
Close
Hashes for cdk_lambda_layer_wget-1.0.449-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 392d2468784cfcf0a8db24374e9f290e426dff401dec35671a5e400817b75e8b |
|
MD5 | c951ffc333b56b727dceed907b6527b4 |
|
BLAKE2b-256 | 4238d7194e771a7409094ff7d1e7bd02cf61b872fa48f9434baf2d82c43a880c |