module documentation
Lambda-tuned defaults for Temporal worker and client configuration.
| Function | apply |
Apply Lambda-appropriate defaults to worker config. |
| Function | build |
Build a worker identity string from the Lambda invocation context. |
| Function | lambda |
Return the config file path for a Lambda environment. |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | DEFAULT |
Undocumented |
| Constant | ENV |
Undocumented |
| Constant | ENV |
Undocumented |
| Constant | ENV |
Undocumented |
Apply Lambda-appropriate defaults to worker config.
Only sets values that have not already been set (i.e. are absent from config). disable_eager_activity_execution is always set to True.
Build a worker identity string from the Lambda invocation context.
Format: <request_id>@<function_arn>.
def lambda_default_config_file_path(getenv:
Callable[ [ str], str] = os.environ.get) -> Path:
(source)
¶
Return the config file path for a Lambda environment.
Resolution order:
- TEMPORAL_CONFIG_FILE env var, if set.
- temporal.toml in $LAMBDA_TASK_ROOT (typically /var/task).
- temporal.toml in the current working directory.