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.312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0653b01c0fda17a1f4514936ac132d1a61d5504c81935fb4238be66a7f6e6a0 |
|
MD5 | 5407d17fbc5848a5668efcb855ce9c62 |
|
BLAKE2b-256 | b7aab095ea18020b54558b3dff57e643f9185af7fbe81c62a6e272dd6059fd79 |
Close
Hashes for cdk_lambda_layer_wget-2.0.312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5991edb3e94dcf25b261c8622deed4c52409be0d344759bc4ec98fa18e771117 |
|
MD5 | bb9071d644a176bfd4516355149785ba |
|
BLAKE2b-256 | 569c7a14f3f9d3ace28e0834d9d7d628b63acbca9d0141d6c6cc36812472fb7f |