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-2.0.224.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ae0d109a5b12b4594db517c9d828ea8337d8193fc14e8260ece22926dafe462 |
|
MD5 | c0c1ee64c4141b6af3e19f0d59e364c8 |
|
BLAKE2b-256 | 4f5601d2c96a10adf2307ad2bcab4468d8bd0b47dae725d1828a66943d6bf63b |
Close
Hashes for cdk_lambda_layer_wget-2.0.224-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad07cfdb9c5751d280d7e264e19b8379bb00a710b251b5d41ef7c5bf5a061d69 |
|
MD5 | 5eaf95513569e2d353b7bf6789df277e |
|
BLAKE2b-256 | f7cb6762235fc81f91ad28adff804ac1b5f37f8330aa5d1da8accc28ef036fd7 |