AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Information about a rule.

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:

#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:

#is_defaultBoolean

Indicates whether this is the default rule.

Returns:

  • (Boolean)

    Indicates whether this is the default rule.

#priorityString

The priority.

Returns:

  • (String)

    The priority.

#rule_arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the rule.