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.232.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6ee8616974d342cbf4470ab7c9a2cf550c888f4e1d291da97e529ad3963f7f |
|
MD5 | 56b8204bd4ddd3cfea28393da3491f1f |
|
BLAKE2b-256 | 512720df0b053e5661527abc507dc7e60bb04efe49c991db3cd5416c531500be |
Close
Hashes for cdk_lambda_layer_wget-2.0.232-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c56d43b0dc1ed1328cc38272e5c9b24fa4c001fa07863d11f2684cb49dbfda |
|
MD5 | 89a86942162471bda884d851171fcc86 |
|
BLAKE2b-256 | 949994fb9d7120ef9f4506907f3752b6162a325446312e8e03febeae7e2016ac |