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.436.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 589fed84d742f671ba59175daea9907a333157b63f2f27f9e311788da9ac0443 |
|
MD5 | 074667bebafc4295f47d3d2b72641541 |
|
BLAKE2b-256 | 8faa1e9fcfb7a8806d78808f7aab0a7e49028a772683077ac6edce218692ef96 |
Close
Hashes for cdk_lambda_layer_wget-1.0.436-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7fc4969e2154acbdf1d7f9082319af22010a5ef7cb322997c8daf54db0f7ffd |
|
MD5 | 9e58db43972528e2f1c4e022ef9e7c81 |
|
BLAKE2b-256 | 29562a984745f61f35e347a8670bc2c1cfda9107574467bf03ee5879ce6372eb |