You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: infrastructure/terraform/components/api/README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,20 @@ No requirements.
20
20
| <aname="input_enable_alarms"></a> [enable\_alarms](#input\_enable\_alarms)| Enable CloudWatch alarms for this deployed environment |`bool`|`true`| no |
21
21
| <aname="input_enable_api_data_trace"></a> [enable\_api\_data\_trace](#input\_enable\_api\_data\_trace)| Enable API Gateway data trace logging |`bool`|`false`| no |
22
22
| <aname="input_enable_backups"></a> [enable\_backups](#input\_enable\_backups)| Enable backups |`bool`|`false`| no |
23
+
| <aname="input_enable_event_anomaly_detection"></a> [enable\_event\_anomaly\_detection](#input\_enable\_event\_anomaly\_detection)| Enable CloudWatch anomaly detection alarm for SNS message Detects abnormal drops or spikes in event publishing volume. |`bool`|`true`| no |
23
24
| <aname="input_enable_event_cache"></a> [enable\_event\_cache](#input\_enable\_event\_cache)| Enable caching of events to an S3 bucket |`bool`|`true`| no |
| <aname="input_environment"></a> [environment](#input\_environment)| The name of the tfscaffold environment |`string`| n/a | yes |
27
+
| <aname="input_event_anomaly_band_width"></a> [event\_anomaly\_band\_width](#input\_event\_anomaly\_band\_width)| The width of the anomaly detection band. Higher values (e.g. 4-6) reduce sensitivity and noise, lower values (e.g. 2-3) increase sensitivity. Recommended: 2-4. |`number`|`4`| no |
28
+
| <aname="input_event_anomaly_evaluation_periods"></a> [event\_anomaly\_evaluation\_periods](#input\_event\_anomaly\_evaluation\_periods)| Number of evaluation periods for the anomaly alarm. Each period is defined by event\_anomaly\_period. |`number`|`3`| no |
29
+
| <aname="input_event_anomaly_period"></a> [event\_anomaly\_period](#input\_event\_anomaly\_period)| The period in seconds over which the specified statistic is applied for anomaly detection. Minimum 300 seconds (5 minutes). Recommended: 300-600. |`number`|`300`| no |
26
30
| <aname="input_eventpub_control_plane_bus_arn"></a> [eventpub\_control\_plane\_bus\_arn](#input\_eventpub\_control\_plane\_bus\_arn)| ARN of the EventBridge control plane bus for eventpub |`string`|`""`| no |
27
31
| <aname="input_eventpub_data_plane_bus_arn"></a> [eventpub\_data\_plane\_bus\_arn](#input\_eventpub\_data\_plane\_bus\_arn)| ARN of the EventBridge data plane bus for eventpub |`string`|`""`| no |
28
32
| <aname="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy)| Flag to force deletion of S3 buckets |`bool`|`false`| no |
29
33
| <aname="input_force_lambda_code_deploy"></a> [force\_lambda\_code\_deploy](#input\_force\_lambda\_code\_deploy)| If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development |`bool`|`false`| no |
30
34
| <aname="input_group"></a> [group](#input\_group)| The group variables are being inherited from (often synonmous with account short-name) |`string`| n/a | yes |
31
35
| <aname="input_kms_deletion_window"></a> [kms\_deletion\_window](#input\_kms\_deletion\_window)| When a kms key is deleted, how long should it wait in the pending deletion state? |`string`|`"30"`| no |
36
+
| <aname="input_letter_event_source"></a> [letter\_event\_source](#input\_letter\_event\_source)| Source value to use for the letter status event updates |`string`|`"/data-plane/supplier-api/nhs-supplier-api-prod/main/update-status"`| no |
32
37
| <aname="input_letter_table_ttl_hours"></a> [letter\_table\_ttl\_hours](#input\_letter\_table\_ttl\_hours)| Number of hours to set as TTL on letters table |`number`|`24`| no |
| <aname="input_log_level"></a> [log\_level](#input\_log\_level)| The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels|`string`|`"INFO"`| no |
0 commit comments