Module Values.CreateRuleRequestSource

Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.

Sourcetype nonrec t = {
  1. serviceIdentifier : ServiceIdentifier.t;
    (*

    The ID or ARN of the service.

    *)
  2. listenerIdentifier : ListenerIdentifier.t;
    (*

    The ID or ARN of the listener.

    *)
  3. name : RuleName.t;
    (*

    The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

    *)
  4. match_ : RuleMatch.t;
    (*

    The rule match.

    *)
  5. priority : RulePriority.t;
    (*

    The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

    *)
  6. action : RuleAction.t;
    (*

    The action for the default rule.

    *)
  7. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

    *)
  8. tags : TagMap.t option;
    (*

    The tags for the rule.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> serviceIdentifier:ServiceIdentifier.t -> listenerIdentifier:ListenerIdentifier.t -> name:RuleName.t -> match_:RuleMatch.t -> priority:RulePriority.t -> action:RuleAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RulePriority.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ServiceIdentifier.t | `Structure of (string * [> `Structure of (string * [> `Integer of HttpStatusCode.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of TargetGroupWeight.t | `String of HeaderMatchName.t | `Structure of (string * [> `String of HeaderMatchExact.t ]) list ]) list ] list | `String of HttpMethod.t | `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `String of PathMatchExact.t ]) list ]) 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