Module Values.NotificationSettingSource

Customizable 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.

Sourcetype nonrec t = {
  1. enabled : Boolean.t;
    (*

    Indicates whether the notification setting is enabled.

    *)
  2. event : NotificationEvent.t;
    (*

    The event to which this notification setting is applied.

    *)
  3. threshold : NotificationSettingThresholdInteger.t option;
    (*

    The number of days before a notification event. This value is required for a notification setting that is enabled.

    *)
  4. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?threshold:??? -> ?channel:??? -> enabled:Boolean.t -> event:NotificationEvent.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of NotificationSettingThresholdInteger.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t