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.318.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05a0d45612d5392fc1e5b6c7c51dbd88c9fbca40d3ffd71d4392938fec87d820 |
|
MD5 | d768f6885268264b749ba48658abe26b |
|
BLAKE2b-256 | cd7e8578b73e0359754ff4132ea07e92e9be72e55c7089767e6a652c8aab99e3 |
Close
Hashes for cdk_lambda_layer_wget-1.0.318-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ce2b03a3f708f09794a5ebbc067a88e5178bae685ca8e7a11c4ad2540709a65 |
|
MD5 | 23ca46f5ffbdd3501a3991c23f4220ca |
|
BLAKE2b-256 | 0a247a8a7c7e8313228954e78cd7872cb88003f042af2b1243dcdf72fea56878 |