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.346.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9473241d07002e34037c1fb11cea2a0ce9171d691d206a68941663253c9908e |
|
MD5 | 41634fe832bf7bace755881919863785 |
|
BLAKE2b-256 | e6ad6cbdbdce93bc7266927c9c12713c21a424a3849284079c5130144f4916ee |
Close
Hashes for cdk_lambda_layer_wget-1.0.346-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f62a3f8f5b6011208cd7036af081cd34fb61611182a227b244aafc7788029b |
|
MD5 | 5106deb2495f7a854e03612ba5199374 |
|
BLAKE2b-256 | a47f6dfab06eb43949a8fa2c4e26b644c9f6570aa92f0003d6b62917b5b433cb |