Class: Aws::ElasticLoadBalancingV2::Types::Rule
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::Rule
- Defined in:
- gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb
Overview
Information about a rule.
Constant Summary collapse
- SENSITIVE =
[]
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.
3488 3489 3490 3491 3492 3493 3494 3495 3496 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3488 class Rule < Struct.new( :rule_arn, :priority, :conditions, :actions, :is_default) SENSITIVE = [] include Aws::Structure end |
#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
.
3488 3489 3490 3491 3492 3493 3494 3495 3496 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3488 class Rule < Struct.new( :rule_arn, :priority, :conditions, :actions, :is_default) SENSITIVE = [] include Aws::Structure end |
#is_default ⇒ Boolean
Indicates whether this is the default rule.
3488 3489 3490 3491 3492 3493 3494 3495 3496 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3488 class Rule < Struct.new( :rule_arn, :priority, :conditions, :actions, :is_default) SENSITIVE = [] include Aws::Structure end |
#priority ⇒ String
The priority.
3488 3489 3490 3491 3492 3493 3494 3495 3496 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3488 class Rule < Struct.new( :rule_arn, :priority, :conditions, :actions, :is_default) SENSITIVE = [] include Aws::Structure end |
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the rule.
3488 3489 3490 3491 3492 3493 3494 3495 3496 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3488 class Rule < Struct.new( :rule_arn, :priority, :conditions, :actions, :is_default) SENSITIVE = [] include Aws::Structure end |