Class CfnStateMachineAlias.RoutingConfigurationVersionProperty
The state machine version to which you want to route the execution traffic.
Inheritance
System.Object
CfnStateMachineAlias.RoutingConfigurationVersionProperty
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RoutingConfigurationVersionProperty : Object, CfnStateMachineAlias.IRoutingConfigurationVersionProperty
Syntax (vb)
Public Class RoutingConfigurationVersionProperty
Inherits Object
Implements CfnStateMachineAlias.IRoutingConfigurationVersionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;
var routingConfigurationVersionProperty = new RoutingConfigurationVersionProperty {
StateMachineVersionArn = "stateMachineVersionArn",
Weight = 123
};
Synopsis
Constructors
RoutingConfigurationVersionProperty() |
Properties
StateMachineVersionArn | The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration. |
Weight | The percentage of traffic you want to route to the state machine version. |
Constructors
RoutingConfigurationVersionProperty()
public RoutingConfigurationVersionProperty()
Properties
StateMachineVersionArn
The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
public string StateMachineVersionArn { get; set; }
Property Value
System.String
Remarks
If you specify the ARN of a second version, it must belong to the same state machine as the first version.
Weight
The percentage of traffic you want to route to the state machine version.
public double Weight { get; set; }
Property Value
System.Double
Remarks
The sum of the weights in the routing configuration must be equal to 100.