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.398.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 648829b6b7dd2e3d9f9f5e50b7a33fefb8cb29ba3b14518722cd9765dae86dd5 |
|
MD5 | 38d5ee73dc816d47c52a06a6633d7893 |
|
BLAKE2b-256 | b9f72ac42c0118710d83e3fe33d76349ec2db18682fdf6884dfd60ef7a424b0b |
Close
Hashes for cdk_lambda_layer_wget-2.0.398-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7efbda59f10cf46abfa563b0440c8f11f1947df982ba75aab13de5b8e3afac50 |
|
MD5 | af725ec0714fe79c36ad9c5018407331 |
|
BLAKE2b-256 | 4bcbeb8c14a0da47424723c263fba034b2764c99aa22d38a4da631cac96c2522 |