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.257.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a159ff41893389ed9fa6ccd45ed24898d0cd5e20d679f95f702fec9e5fcb4eff |
|
MD5 | ac8222d562837898d422f4c53f9303ca |
|
BLAKE2b-256 | 8c0d902711f0704569a867b8be601424bbd4670b3c2421737951b6cf9b6dd4a0 |
Close
Hashes for cdk_lambda_layer_wget-2.0.257-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4e7aa8811ad1ea253d1acd41eca8e87edd37fbeb472612c7c7c1009cebbe4f |
|
MD5 | 502e26a553e54c567ba62859002065bc |
|
BLAKE2b-256 | f65a11d7eb1c66397875ecc543fd2537e547afc96f19a778de4f2156560c2df4 |