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.147.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f84689aac42e267cfcc5a33b756cc785dbbbed61c930a4dd3c9c1a13e84cc07 |
|
MD5 | 8ff88fd53d2d90af6a6142db002cf0aa |
|
BLAKE2b-256 | 4a762581629c7b7c23602750d9fd2e8063a7f1c3376d69f8d77a80c532f84d28 |
Close
Hashes for cdk_lambda_layer_wget-2.0.147-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b3e0b9a02a6fd5b7b277043bea8c82edf0af4f6eec521ebc313d10d2db1e72c |
|
MD5 | e80c2162b6d052abaee301fb5563f770 |
|
BLAKE2b-256 | 1c408087c4f7adce882e55b1ff80d1224541ab9501481989c85adc3f57b40438 |