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.182.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7095e4700647ae27778d3366ee9ad9de3f0508113b461532d341696cc42c479 |
|
MD5 | b7748a4ac3f27955787974215446af1c |
|
BLAKE2b-256 | f824ceda50dba2c0bce6558cf1205afd098bdc7448ce81b11f4e9203e456b318 |
Close
Hashes for cdk_lambda_layer_wget-2.0.182-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1176a81a96ff1cecd50f123a72b7bde9c9caa40a0f86264f5e38217cbec2c082 |
|
MD5 | 4d7889d83974086004fec09cb31ee2af |
|
BLAKE2b-256 | f2dd8cab6d93fd1391699d258169a4d5550ce66ced3b78261f2c0d793820a4f0 |