Package software.amazon.awscdk.core
Enum 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
property.invalid @link
CfnTrafficRoutingConfig.type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSwitch from blue to green at once.Specifies a configuration that shifts traffic from blue to green in two increments.Specifies a configuration that shifts traffic from blue to green in equal increments, with an equal number of minutes between each increment. -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTrafficRoutingType
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.
-
Enum Constant Details
-
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.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-