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.219.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1a195af2c6774ba2e53191ec6d51d23fd8ec2ef594d6e07df890e1ca897e313 |
|
MD5 | aed49965992f4ffba04da6914f2dd340 |
|
BLAKE2b-256 | 41e8463675076abbfc187e40ba5960b4e0fd1b35c481ac1311a7826898178fa9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.219-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89a325671d31f41cb85a69245e3377dd15513bcd49e61c24835a37e419094382 |
|
MD5 | b49428425dca45788d1eed3be23afbb1 |
|
BLAKE2b-256 | 3e7c02eea18d5efca13f78e4c2cc8214ad50817296cee6fb8afda91e1f27a0b4 |