Module Values.ConditionSource

The condition for the stage. A condition is made up of the rules and the result for the condition. For more information about conditions, see Stage conditions and How do stage conditions work?.. For more information about rules, see the CodePipeline rule reference.

Sourcetype nonrec t = {
  1. result : Result_.t option;
    (*

    The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

    *)
  2. rules : RuleDeclarationList.t option;
    (*

    The rules that make up the condition.

    *)
}
Sourceval make : ?result:??? -> ?rules:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of RuleTimeout.t | `List of [> `String of Command.t | `Structure of (string * [> `String of ArtifactName.t ]) list ] list | `Map of ([> `String of RuleConfigurationKey.t ] * [> `String of RuleConfigurationValue.t ]) list | `String of RuleName.t | `Structure of (string * [> `Enum of string | `String of RuleProvider.t ]) list ]) list ] list ]) 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