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.264.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117af138372462db6c6dab1581ce6fb37df343f7f373fdf9815e1ca330a82402 |
|
MD5 | ac1d2aa4aca47c94be23b6a67a7f29a4 |
|
BLAKE2b-256 | de6d45802fbf55e7b1ceb710251d5b280cd52c7f6a13e6f4baa73160ccd4958c |
Close
Hashes for cdk_lambda_layer_wget-1.0.264-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 651b87b4155fb7a790f857e8c89c87d88e2c918f1ff204064168d78a6eaa7493 |
|
MD5 | a1d1d2d26ced230f42f3a88ec9601947 |
|
BLAKE2b-256 | 66f8b0ff78a0e9c4c8b4ec7ec09df0683cd10953ca3f6631ac6ef58a61bb608c |