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.170.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fab6db53ed05ac0407c4c7944a53c58555dc4ef00109c77daf75bcb47fa5364 |
|
MD5 | 63fbb74ec1b5fa66686f4af659ca039a |
|
BLAKE2b-256 | 2f72e71155667fcac8fc434b05ab16388c513c547f9ce414dedbf9057ea9abea |
Close
Hashes for cdk_lambda_layer_wget-2.0.170-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22800a10e445098c7d365fb21730bfb63c3222dde9b04e30118422c10fc0d59e |
|
MD5 | 914a2e0560774e21f7a491331b00c653 |
|
BLAKE2b-256 | 8008cfeca4dc24dccb379735f7dc43f7880576ad4d808c8c598f8e1cb2f85c48 |