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

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

Overview

Information about a rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<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.

Returns:



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3706

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default,
  :transforms)
  SENSITIVE = []
  include Aws::Structure
end

#conditionsArray<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`.

Returns:



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3706

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default,
  :transforms)
  SENSITIVE = []
  include Aws::Structure
end

#is_defaultBoolean

Indicates whether this is the default rule.

Returns:

  • (Boolean)


3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3706

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default,
  :transforms)
  SENSITIVE = []
  include Aws::Structure
end

#priorityString

The priority.

Returns:

  • (String)


3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3706

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default,
  :transforms)
  SENSITIVE = []
  include Aws::Structure
end

#rule_arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)


3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3706

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default,
  :transforms)
  SENSITIVE = []
  include Aws::Structure
end

#transformsArray<Types::RuleTransform>

The transforms for the rule.

Returns:



3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 3706

class Rule < Struct.new(
  :rule_arn,
  :priority,
  :conditions,
  :actions,
  :is_default,
  :transforms)
  SENSITIVE = []
  include Aws::Structure
end