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.65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d78b0a3aefccc1daef423f27f827bef1f820fd9a0b38b9233597be3cf7ea79e |
|
MD5 | 2cabb05b1758b861b9f4a1603e8dd7be |
|
BLAKE2b-256 | 8131216f35e3a2f0abc4c0f0fa663348b9b2cbb4c255ac0babfae70129d44f1f |
Close
Hashes for cdk_lambda_layer_wget-1.0.65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4ceb4fce96f6ac2a24b0f266614819ad37f5beafe52ee641e9dc264147d006 |
|
MD5 | ac6f551a93cc165b1264b12aa395cf03 |
|
BLAKE2b-256 | 289aa8af5658ced1ece657218cd7d70c7e729d62b5565ea69a8a67c887cf6595 |