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.364.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037f6dd7307e5c65673f6ca3f130e86ddd08c0b5f9dbce39c7ca9246f1620ec5 |
|
MD5 | 807b390be5858217b7e02e2a726c1ec3 |
|
BLAKE2b-256 | cfd2869f467e67a464acb8f875e44e4a045a296f1dd3eef880acf69860a60dfd |
Close
Hashes for cdk_lambda_layer_wget-1.0.364-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc05334fefe4436c2fa3d20df6a06f54197bd761a4678db49e38db997afb1f8 |
|
MD5 | c586ba51b3265d2c9d27a3ba5e172846 |
|
BLAKE2b-256 | cebd875c092e6612125260f60c27b5c8d94f71a0964e0f790556cccf9822d92c |