Rule class

Information about a rule.

Constructors

Rule({List<Action>? actions, List<RuleCondition>? conditions, bool? isDefault, String? priority, String? ruleArn})
Rule.fromXml(XmlElement elem)
factory

Properties

actions List<Action>?
The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.
final
conditions List<RuleCondition>?
The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.
final
hashCode int
The hash code for this object.
no setterinherited
isDefault bool?
Indicates whether this is the default rule.
final
priority String?
The priority.
final
ruleArn String?
The Amazon Resource Name (ARN) of the rule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited