Enum CfnTrafficRoutingType

java.lang.Object
java.lang.Enum<CfnTrafficRoutingType>
software.amazon.awscdk.core.CfnTrafficRoutingType
All Implemented Interfaces:
Serializable, Comparable<CfnTrafficRoutingType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.965Z") @Stability(Stable) public enum CfnTrafficRoutingType extends Enum<CfnTrafficRoutingType>
The possible types of traffic shifting for the blue-green deployment configuration.

The type of the

invalid @link
CfnTrafficRoutingConfig.type
property.
  • Enum Constant Details

    • ALL_AT_ONCE

      @Stability(Stable) public static final CfnTrafficRoutingType ALL_AT_ONCE
      Switch from blue to green at once.
    • TIME_BASED_CANARY

      @Stability(Stable) public static final CfnTrafficRoutingType TIME_BASED_CANARY
      Specifies a configuration that shifts traffic from blue to green in two increments.
    • TIME_BASED_LINEAR

      @Stability(Stable) public static final CfnTrafficRoutingType TIME_BASED_LINEAR
      Specifies a configuration that shifts traffic from blue to green in equal increments, with an equal number of minutes between each increment.
  • Method Details

    • values

      public static CfnTrafficRoutingType[] 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 CfnTrafficRoutingType 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