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.378.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f60ed095326bd54174579273c08f80443205f0495474d620a4393f2eb2eb53f |
|
MD5 | 7e886f2de445e44413a4f74881f5f23d |
|
BLAKE2b-256 | 735337418a1b830511cc4bb8e304f8e111d293ce9c9cedb99ab883786f55ebeb |
Close
Hashes for cdk_lambda_layer_wget-2.0.378-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84d82c9afc3f6d157bfdc4582f70a918c76cbddcb64a0a526f5cf54c97676d99 |
|
MD5 | b1257693bb239da2699ffc8d84914a88 |
|
BLAKE2b-256 | d29e16b6d116b00c5d674639b1962c0256716e42448afc1c28e87c3723b1dbe8 |