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.121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a47c50592cd98f09ab8d6396b58acf58c66625e83be47f861fedf3a74f46c387 |
|
MD5 | 4950723f05f94a7dc1b022580dd846b6 |
|
BLAKE2b-256 | df32f104fb8e53b196a8d3e6b0c964c334191cd2a17a3d9a360cf2761631ed70 |
Close
Hashes for cdk_lambda_layer_wget-2.0.121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e36a483866d1be446577813963eda7b9ae98a921b6a6a863e6aa5794700d17 |
|
MD5 | 53cff52fb87e1c64504656ae2ba0dc64 |
|
BLAKE2b-256 | f3ddc470fffc5df86722c5c9b01bddb200d8c6d5b700165aeba1c84762559df1 |