java.lang.Object
java.lang.Enum<RoutingPolicy>
software.amazon.awscdk.services.servicediscovery.RoutingPolicy
All Implemented Interfaces:
Serializable, Comparable<RoutingPolicy>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.664Z") @Stability(Stable) public enum RoutingPolicy extends Enum<RoutingPolicy>
  • Enum Constant Details

    • WEIGHTED

      @Stability(Stable) public static final RoutingPolicy WEIGHTED
      Route 53 returns the applicable value from one randomly selected instance from among the instances that you registered using the same service.
    • MULTIVALUE

      @Stability(Stable) public static final RoutingPolicy MULTIVALUE
      If you define a health check for the service and the health check is healthy, Route 53 returns the applicable value for up to eight instances.
  • Method Details

    • values

      public static RoutingPolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RoutingPolicy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null