Values.NotificationSettingSourceCustomizable notification settings that will be applied to notification events. IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard.
type nonrec t = {enabled : Boolean.t;Indicates whether the notification setting is enabled.
*)event : NotificationEvent.t;The event to which this notification setting is applied.
*)threshold : NotificationSettingThresholdInteger.t option;The number of days before a notification event. This value is required for a notification setting that is enabled.
*)channel : NotificationChannel.t option;The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
*)}val make :
?threshold:??? ->
?channel:??? ->
enabled:Boolean.t ->
event:NotificationEvent.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of NotificationSettingThresholdInteger.t ])
list ]