You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticLoadBalancingV2::Types::Rule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Information about a rule.

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::Action>

The actions.

Returns:



1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1667

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default)
  include Aws::Structure
end

#conditionsArray<Types::RuleCondition>

The conditions.

Returns:



1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1667

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default)
  include Aws::Structure
end

#is_defaultBoolean

Indicates whether this is the default rule.

Returns:

  • (Boolean)


1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1667

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default)
  include Aws::Structure
end

#priorityString

The priority.

Returns:

  • (String)


1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1667

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default)
  include Aws::Structure
end

#rule_arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)


1667
1668
1669
1670
1671
1672
1673
1674
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1667

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default)
  include Aws::Structure
end