@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:53.007Z") public enum CfnTrafficRoutingType extends java.lang.Enum<CfnTrafficRoutingType>
The type of the {@link CfnTrafficRoutingConfig.type} property.
Enum Constant and Description |
---|
ALL_AT_ONCE
Switch from blue to green at once.
|
TIME_BASED_CANARY
Specifies a configuration that shifts traffic from blue to green in two increments.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static CfnTrafficRoutingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CfnTrafficRoutingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CfnTrafficRoutingType ALL_AT_ONCE
public static final CfnTrafficRoutingType TIME_BASED_CANARY
public static final CfnTrafficRoutingType TIME_BASED_LINEAR
public static CfnTrafficRoutingType[] values()
for (CfnTrafficRoutingType c : CfnTrafficRoutingType.values()) System.out.println(c);
public static CfnTrafficRoutingType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null