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.296.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8066a6be4e728a56ef820f9a09ecdc1139ace521a439c7aedebd45e91ef39f28 |
|
MD5 | d2c18633f8ace9bdc207735ce855bc59 |
|
BLAKE2b-256 | f998f0ece18f6f3898926c5f3d01cce68bac9da82efe04060cc523fc8fc43330 |
Close
Hashes for cdk_lambda_layer_wget-2.0.296-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea7e5e01e16a38b1e5673828da5ed2f53bd0c530e0cf0a90d733a07fc1db544 |
|
MD5 | 1434448d5cae3654637b6bbf2e663326 |
|
BLAKE2b-256 | 8e5c027d8ebf2a32362729bab94aa973ef6f2e525b2911b3b74612ceb9f1cc16 |