Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer.
Each rule consists of a priority, one or more actions, and one or more conditions. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener rules in the Application Load Balancers Guide.
get/#Action=CreateRule
Query parameters
ListenerArnstring required
The Amazon Resource Name (ARN) of the listener.
The conditions.
Priorityinteger required
The rule priority. A listener can't have multiple rules with the same priority.
The actions.
The tags to assign to the rule.
Action'CreateRule' required
Version'2015-12-01' required
Response
Success