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.341.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6438817108e7716bdfa82b6e1df620a5c038debc9939f08816a1addec739548 |
|
MD5 | a227fe51e596d133bf3724b16701e1ce |
|
BLAKE2b-256 | d4e1a562231ff5371c398b26a41212c6c26c29fc9041e088cebc75dc6c1aa26a |
Close
Hashes for cdk_lambda_layer_wget-1.0.341-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e90b945b1cede7b8b8a4a3bd2a57dcec312a3c78c9d050329b4d133bab5db5 |
|
MD5 | a2d962c0add80bcc3121cc437b955e2f |
|
BLAKE2b-256 | 05ebae39b2cb1ebe7c41b58faf65706bd8fbc0bc2267b7bbc17af59d613479cf |