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.241.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e4852aa474bdbe9c23396e6a5ba65f5a2d986a730b3b7a320fbb76574d1663b |
|
MD5 | cae39e4236b48331dd28f80b49b090b5 |
|
BLAKE2b-256 | 0b2941193a73069eaef863ab9de886cc8d93ea8bed0e0026e7c952292e5d1e74 |
Close
Hashes for cdk_lambda_layer_wget-2.0.241-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2562b1b52be75c4fdf2a97a64bbe29e3f3f67e59aef81ec32d73adb72a5fe21 |
|
MD5 | 83ea2ab3cee7730bbfe446c0afa0979f |
|
BLAKE2b-256 | b8fa93990571026e7984d008ae2d8676ccf606cc49bcc1bd0f753a82106bcd4b |