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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e2437ac445a2a7a4437b750775d95332b8b6dda2fdee4b06176705eeda7e24 |
|
MD5 | 1ecc22311c2ebc8b270c3cbd1939bb0c |
|
BLAKE2b-256 | a28807bb9f3798715809313dcd5b430ee740612f2ab1dafeebccf179d77c74a9 |
Close
Hashes for cdk_lambda_layer_wget-2.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c821dc05c65daf330819acb1a5868d1858dc7bc8fe7360b6a7e542c348835db |
|
MD5 | 926da17a1dc50953666e360fc884bc6b |
|
BLAKE2b-256 | 783c7c4e73e1e68256a5a8f071c087d792f49601318ab7493a2c5f0893eb2d2f |