@@ -9,18 +9,17 @@ Lambda supports multiple languages through the use of runtimes. You can choose a
99
1010- Node.js 20: ` nodejs20.x `
1111- Node.js 18: ` nodejs18.x `
12- - Node.js 16: ` nodejs16.x `
1312- Python 3.12: ` python3.12 `
1413- Python 3.11: ` python3.11 `
1514- Python 3.10: ` python3.10 `
1615- Python 3.9: ` python3.9 `
17- - Python 3.8: ` python3.8 `
1816- Java 21: ` java21 `
1917- Java 17: ` java17 `
2018- Java 11: ` java11 `
2119- Java 8: ` java8.al2 `
22- - .NET 7 : ` dotnet7 `
20+ - .NET 8 : ` dotnet8 `
2321- .NET 6: ` dotnet6 `
22+ - Ruby 3.3: ` ruby3.3 `
2423- Ruby 3.2: ` ruby3.2 `
2524- OS-only runtime (Amazon Linux 2023): ` provided.al2023 `
2625- OS-only runtime (Amazon Linux 2): ` provided.al2 `
@@ -229,6 +228,26 @@ You likely won't need to change this, but if you do, *you must include the envir
229228 }
230229```
231230
231+ ### Description
232+
233+ By default, Sidecar will generate a description for your Lambda function based on the deployment environment and the name of your app.
234+
235+ You likely won't need to customise it, however, you can if you want, although it has no direct impact.
236+
237+ ``` php
238+ class ExampleFunction extends LambdaFunction
239+ {
240+ public function description()
241+ {
242+ return sprintf('%s [%s]: Sidecar function `%s`.', ...[
243+ config('sidecar.app_name'),
244+ Sidecar::getEnvironment(),
245+ static::class,
246+ ]);
247+ }
248+ }
249+ ```
250+
232251## Tags
233252
234253A key-value array of strings of tags to be applied to your function, this can be used to organize your functions by owner, project or departement.
0 commit comments