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.295.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f90be0e68307fa89667289a5ec2fb800e1965e10065f12ded75fb1117a07430 |
|
MD5 | b32da6ee6259517824cc5f924ecfc0da |
|
BLAKE2b-256 | 52e86f4a2b641255a5423b4e48d00593bc3f590947bb9121f4f5846c6e3826d0 |
Close
Hashes for cdk_lambda_layer_wget-2.0.295-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2dbffe2d13267ba71fced5096d62f1f6663a08b7ee4d4471e4465b1425d3c4 |
|
MD5 | aa4ffc2dccc302fb846d228523f05179 |
|
BLAKE2b-256 | a5723dad1a3a8a766cd49a75c5cc9ed2ec07919621d9d818391376adf2a394a4 |