Class CfnStateMachineAlias.RoutingConfigurationVersionProperty
The state machine version to which you want to route the execution traffic.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStateMachineAlias.RoutingConfigurationVersionProperty : CfnStateMachineAlias.IRoutingConfigurationVersionProperty
Syntax (vb)
Public Class CfnStateMachineAlias.RoutingConfigurationVersionProperty 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() | The state machine version to which you want to route the execution traffic. |
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()
The state machine version to which you want to route the execution traffic.
public RoutingConfigurationVersionProperty()
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
};
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
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
Remarks
The sum of the weights in the routing configuration must be equal to 100.