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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f7300fa702620c12880285bb726bb7c2d7717d736a36b90a19c687de7b0382 |
|
MD5 | ad523ec045a5f6bb3bd1e51c01ff5d32 |
|
BLAKE2b-256 | 847c7466c894a167a9d0402f6dcc6ff300e9dab261d06e73de25918c58dc3fa8 |
Close
Hashes for cdk_lambda_layer_wget-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58813b2d115fc64fbb93009e5181b217ca4b2f9f6e673449e9fd6a7bf26fc48a |
|
MD5 | 6332eccbf1a5883e32e10d32e17b5a74 |
|
BLAKE2b-256 | 0ecfa4a3e3af778cc629e41df18f44a1cd231f4cfdc97ed8ae0829d75a2b8667 |