Enum CfnTrafficRoutingType

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

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:10.027Z") @Stability(Stable) public enum CfnTrafficRoutingType extends Enum<CfnTrafficRoutingType>
The possible types of traffic shifting for the blue-green deployment configuration.

The type of the 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