You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticLoadBalancingV2::Types::Rule
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::Rule
 
- Defined in:
- (unknown)
Overview
Information about a rule.
Instance Attribute Summary collapse
- 
  
    
      #actions  ⇒ Array<Types::Action> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The actions. 
- 
  
    
      #conditions  ⇒ Array<Types::RuleCondition> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The conditions. 
- 
  
    
      #is_default  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether this is the default rule. 
- 
  
    
      #priority  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The priority. 
- 
  
    
      #rule_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) of the rule. 
Instance Attribute Details
#actions ⇒ Array<Types::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.
#conditions ⇒ Array<Types::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.
#is_default ⇒ Boolean
Indicates whether this is the default rule.
#priority ⇒ String
The priority.
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the rule.