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-1.0.294.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fd02515d83438c76f7008326f2ca2e20e57c5a36517e423bdfe3ae28b9d75c |
|
MD5 | a796837861fc6c0f54d6803bed42e403 |
|
BLAKE2b-256 | cceef2629a3994199e994e24cdab50cf7a7c6676c6f63481bf889ae5102cc88c |
Close
Hashes for cdk_lambda_layer_wget-1.0.294-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29ea44565c808949729a364f1eb98f1f401380b6296edd12942a7098f42bf631 |
|
MD5 | fa441d60f9019ddcb6605d1dd55362c1 |
|
BLAKE2b-256 | 13e0fd0fe24f289e42d22780266b47f5d4ed740df8a17db8674d0bce274487f4 |