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.175.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fe6518fce6b223585205434a505600dda5d383be5a43e10fec0bcab1954dc04 |
|
MD5 | bf99fa1dfd4f20c5c3528c2384b316d2 |
|
BLAKE2b-256 | 36aca01ed10a1cc9c8657353afcf98c863d9cd331f7f66c191ee232d49893135 |
Close
Hashes for cdk_lambda_layer_wget-1.0.175-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c25b8cf96ab2bb84ee18e4800de7f3be9e469e55c7c2fc496297472cb694661 |
|
MD5 | 2fe0de256cd4d32a4dddab82940fec31 |
|
BLAKE2b-256 | efa54e232cc0c1601a8579fae4f7b5f03ed6d17c0e3472d8a52c92d8d8fc20b3 |