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.183.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6faed4059fa4a8a378214d910c3bc7f8b8ac9a34e73c9b448fa75741cb51bb54 |
|
MD5 | 13543cd917f20bb0152fe1d1802fe807 |
|
BLAKE2b-256 | 5e3cb64cc72f16f88e0cadbcda0dc8a3d4e6ce133a0f8289ac0a8f901c285010 |
Close
Hashes for cdk_lambda_layer_wget-2.0.183-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96cd61c9ad5e2e357067a790e64d499935f26129249719b348344eeb48ddbffd |
|
MD5 | ae73c99a61932a355a35dde74904a116 |
|
BLAKE2b-256 | ff6c9b86adf60b08ed84bf079f40408a65185839338abd5b28ddd84c9936da55 |