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-1.0.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38181ab62fa00dd2598bf5d9cf7a92a263e76dd05ba44b7bc91f7a162d03d36 |
|
MD5 | 1ba677c65ccd9c24d22105db47166e18 |
|
BLAKE2b-256 | 0aa4b24454b2d6a0657b61b8a7ce0c9c98dd77c1f997f63aecbc02d8828bcde9 |
Close
Hashes for cdk_lambda_layer_wget-1.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a1e6a2478f485b2354b23aca5c337df97b4a6085ad9cc902f679e4dacb6291 |
|
MD5 | bda5973ff238e1afc7472db97f2f082a |
|
BLAKE2b-256 | 07e3b3cfe391be2e9d8abd850b18d83c799b94c0fb2c1a1194df0a0672b81562 |