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.302.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a83893fc880f242e19236971b9d08411e495ff1d839a0ecaec2ca6b780a391 |
|
MD5 | 9df775502ee92a19583db9d66e7cee89 |
|
BLAKE2b-256 | 354c248443e98060d67d740b35ee91cadc3a58a98c5054a50866a0581efb5c77 |
Close
Hashes for cdk_lambda_layer_wget-1.0.302-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3927fddf04d8fd7a01caeb656d6ce9307c9a24907ec25acac55d6108e75955f8 |
|
MD5 | 83464e4734c1df595c84ce5b1ebe9208 |
|
BLAKE2b-256 | 024606e0c4b55a69e942e9e86aa1411f51c0d52cbb38026328178966c016133f |