Module Values.EventSubscriptionSource

Indicates an event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

Sourcetype nonrec t = {
  1. eventType : EventType.t;
    (*

    The type of event you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.

    *)
  2. name : String255.t;
    (*

    Unique name to identify an event subscription.

    *)
  3. snsTopicArn : Arn.t option;
    (*

    Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN is: arn:partition:sns:region:account:topic-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?snsTopicArn:??? -> eventType:EventType.t -> name:String255.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String255.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