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.184.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955ef4146640448aec930aecd3e7f299562dc6471c6c345ecd3673646547b543 |
|
MD5 | 8ee2ce0f18ba281660fa498383871157 |
|
BLAKE2b-256 | dd87d8122ad083d4d7c463df34c07af4b5933aae3aeec8e3f7080fbd23845234 |
Close
Hashes for cdk_lambda_layer_wget-1.0.184-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa8f06e33ed67640fb6405a5d405f5e6976463b09fe6a38a8b387ff98f31882 |
|
MD5 | 15c29034a2431c38b8e77f13feeb47c8 |
|
BLAKE2b-256 | 906bb308199bff4787f5678a93fcf05bada42b579c837caf746014b031ff545d |