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.390.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09737a286fc6e68716dd8de922985eb1d4d8eb24c6a39692bf18923255083174 |
|
MD5 | a2809202aa2bbe366be4ca38c4ff0c0b |
|
BLAKE2b-256 | 1246f42656144f0731957630cc1a1f0e5ed3e7fdcd636b39d307093961706ea8 |
Close
Hashes for cdk_lambda_layer_wget-2.0.390-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1363ac73b126e938aacd4d5e87edd156e7f8f1e55bbbddab900baed4e5a7dd8 |
|
MD5 | d20692861e78e55106fc403bbf1d9faf |
|
BLAKE2b-256 | 1a4d1c854e72f1ba72b64cc60b8e52a53a3f43e091d19d9354a63c31d691467e |