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.324.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d78eab634b1b2a64e2ded03ab013a1bf5ec2b68e6a62cbacc64f91fd347958a |
|
MD5 | 0f58aa936ce0c8c4297485a94a2877c7 |
|
BLAKE2b-256 | 908235a1f50fa6e110f8fc27e5fe47e7d844be76fca62490da9fe1669e9a4433 |
Close
Hashes for cdk_lambda_layer_wget-2.0.324-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d985ee9da6c78ac21038f9c8894633a61a8e34c9a5f9a9944e0a905c3697ba |
|
MD5 | 421e59c15f340354e16a6d492458d8fb |
|
BLAKE2b-256 | 17ecad4fa1f895b692d1402f49aec5e54261ec1e55d273a823208211ba1ecad1 |