@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.442Z") @Stability(value=Experimental) public enum CfnTrafficRoutingType extends Enum<CfnTrafficRoutingType>
The type of the {@link CfnTrafficRoutingConfig.type} property.
| Enum Constant and Description |
|---|
ALL_AT_ONCE
(experimental) Switch from blue to green at once.
|
TIME_BASED_CANARY
(experimental) Specifies a configuration that shifts traffic from blue to green in two increments.
|
TIME_BASED_LINEAR
(experimental) 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(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.
|
@Stability(value=Experimental) public static final CfnTrafficRoutingType ALL_AT_ONCE
@Stability(value=Experimental) public static final CfnTrafficRoutingType TIME_BASED_CANARY
@Stability(value=Experimental) public static final CfnTrafficRoutingType TIME_BASED_LINEAR
public static CfnTrafficRoutingType[] values()
for (CfnTrafficRoutingType c : CfnTrafficRoutingType.values()) System.out.println(c);
public static CfnTrafficRoutingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.