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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793940c4136cc97b97a649b571296675976ba4a93cc1d1472f07bd9a485a05ed |
|
MD5 | 64c30446a017235580008e2cf3063662 |
|
BLAKE2b-256 | 31eed48ca17aa6184fa01e6b944aab36b456bd19366929e14fe21c8a8d43564c |
Close
Hashes for cdk_lambda_layer_wget-1.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9a8f7d29c403e79de8c173296e82c582e10ca9e844a56dd1228bd0a2ed35a3c |
|
MD5 | 423ef409deffbb898c1ed81e8cbc1147 |
|
BLAKE2b-256 | fcb0cd6b5871451d49730158c39abdfa74dff20706b458b606d084b02768bf64 |