AWS fis: Updated AWS_FIS_POLL_MAX_WAIT_MILLISECONDS documentation
Summary
Enhanced environment variable documentation with specific guidance for preventExecution scenarios.
Security assessment
The change improves operational guidance for fault injection configuration but does not address security threats or introduce security-specific documentation.
Evidence
+ * `AWS_FIS_POLL_MAX_WAIT_MILLISECONDS` ‐ Optional. If set to a non-zero value, this variable defines the number of milliseconds the extension will wait for an in-flight async poll to finish before evaluating fault configurations and starting the invocation of the runtime. Defaults to `0`. When using `preventExecution` set to `true` in the `aws:lambda:invocation-error` action, we recommend setting this variable to at least `2000` (2 seconds) to ensure the extension has up-to-date fault configuration before deciding whether to block function execution.
Diff
diff --git a/fis/latest/userguide/use-lambda-actions.md b/fis/latest/userguide/use-lambda-actions.md index 1fd79654a..ae25abf22 100644 --- a//fis/latest/userguide/use-lambda-actions.md +++ b//fis/latest/userguide/use-lambda-actions.md @@ -291 +291 @@ The following is a list of environment variables for the AWS FIS Lambda extensio - * `AWS_FIS_POLL_MAX_WAIT_MILLISECONDS` ‐ Optional. If set to non-zero value, this variable defines the number of milliseconds the extension will wait for an in-flight async poll to finish before evaluating fault configurations and starting the invocation of the runtime. Defaults to `0`. + * `AWS_FIS_POLL_MAX_WAIT_MILLISECONDS` ‐ Optional. If set to a non-zero value, this variable defines the number of milliseconds the extension will wait for an in-flight async poll to finish before evaluating fault configurations and starting the invocation of the runtime. Defaults to `0`. When using `preventExecution` set to `true` in the `aws:lambda:invocation-error` action, we recommend setting this variable to at least `2000` (2 seconds) to ensure the extension has up-to-date fault configuration before deciding whether to block function execution.