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.359.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93863096c643209abb2ef3f6320256c6256675f071aa3dbda0f7808c63655b84 |
|
MD5 | 093558be013a3c86da65b4791c01af90 |
|
BLAKE2b-256 | fdbfaf54a4de2f9dbdd0b1ff28cf1933498acc0ada3cac9e8f45196667457ae8 |
Close
Hashes for cdk_lambda_layer_wget-2.0.359-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6afda91c418e90c5c6f4fa5ad0e611b3405fb0a9e85afb314f758fa4868329 |
|
MD5 | 6f0e146ffb763c79f91aa28afb9c41c7 |
|
BLAKE2b-256 | cfe978e3290c48b5e100bb79661b21e578239e5dde8bddafa75cdec7bd24068c |