Rule

public struct Rule : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let actions: [Action]?
  • 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.

    Declaration

    Swift

    public let conditions: [RuleCondition]?
  • Indicates whether this is the default rule.

    Declaration

    Swift

    public let isDefault: Bool?
  • The priority.

    Declaration

    Swift

    public let priority: String?
  • The Amazon Resource Name (ARN) of the rule.

    Declaration

    Swift

    public let ruleArn: String?
  • Undocumented

    Declaration

    Swift

    public init(actions: [Action]? = nil, conditions: [RuleCondition]? = nil, isDefault: Bool? = nil, priority: String? = nil, ruleArn: String? = nil)