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.108.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285b035124dc7b71b9e6f27bb9e9d834184508bff6b9c381fa084cf8fe8362fc |
|
MD5 | af5a4344bb4d3882332bb140887500b3 |
|
BLAKE2b-256 | cfd9760111d6381d96c81707eaef52a257c43486feb5eb2b2debeafdafc480b5 |
Close
Hashes for cdk_lambda_layer_wget-1.0.108-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d08def140521f3e8d5b75ebff353a5465ea96f9a503746d80be2962b651c8c99 |
|
MD5 | c599d16787e6cd6b901940de908a6a8f |
|
BLAKE2b-256 | 598bbc1be5e4970987ea5580e64d475274f9169cd02db455574c75a0bdd63ae3 |