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.197.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f21ef31125efeb310b150dab49d533f72cf9aa4c393396d1c227a643a0da3fb |
|
MD5 | 7efc034fd1ee26e0138bceae688b659e |
|
BLAKE2b-256 | 92c1b60dc22e57394e6437bc9d847b2f4571c9de0dd7ba8e45879352ef14d0ed |
Close
Hashes for cdk_lambda_layer_wget-2.0.197-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da51eaadfc3c12247a28036509852bdf3ad41e7983b68229f7d1839dffb861e3 |
|
MD5 | 2e18afc2a79cdee8829769b1f2a94a36 |
|
BLAKE2b-256 | f352138e0842722ce9531ec118af331e37d0e45ecb6252cabdcd8f19a6870d3f |