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.247.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93869d6b7dc41670fb797f1eab4cfa41fd271fab007feddda4278840f215b659 |
|
MD5 | b4f0db80b5cb7889d600e9b867874041 |
|
BLAKE2b-256 | ed0bb756aa5f64f9a945017525aa3ce0ec8dad10d4b1e64cb249b04b7030e356 |
Close
Hashes for cdk_lambda_layer_wget-2.0.247-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e7251b731cc3e9ce86c051e2d0c0a1e3805e27c21b9b04d78d87ec8404e37d8 |
|
MD5 | 5b2c6f0683617aca077465aab3a5a67a |
|
BLAKE2b-256 | 1e5eba59bbc5182fc14f827cede14c38c4e6ee204c7f5f50e0cb087aa5cd48d0 |