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.84.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cea5135d19309b37c4b961d9643bd58e3d80e2329e41a8e7f9cfd66df43d65b5 |
|
MD5 | 36d0c80483a96c6c566a10c993d55b87 |
|
BLAKE2b-256 | 2b2967a9aab725ff2bc163669946d5fc9100655040c9bb708213b32d0f2f6890 |
Close
Hashes for cdk_lambda_layer_wget-1.0.84-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a5b717d3d9eff3f9fe5323bd075d3be5653d06bdbca27cc23d074e2098afee |
|
MD5 | dd0122e1f387b76f5c794ebf9f813f26 |
|
BLAKE2b-256 | f6676a86d07eab2ae3753082ff88878ccfcd7b87de1e35d223696e79dabde3a9 |