AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Set the state of the routing control to reroute traffic. You can set the value to ON or OFF. When the state is ON, traffic flows to a cell. When the state is OFF, traffic does not flow.
With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a "break glass" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application.
The SafetyRulesToOverride property enables you override one or more safety
rules and update routing control states. For more information, see
Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery
Controller Developer Guide.
You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.
To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateRoutingControlStateAsync.
Namespace: Amazon.Route53RecoveryCluster
Assembly: AWSSDK.Route53RecoveryCluster.dll
Version: 3.x.y.z
public abstract UpdateRoutingControlStateResponse UpdateRoutingControlState( UpdateRoutingControlStateRequest request )
Container for the necessary parameters to execute the UpdateRoutingControlState service method.
| Exception | Condition |
|---|---|
| AccessDeniedException | You don't have sufficient permissions to perform this action. |
| ConflictException | There was a conflict with this request. Try again. |
| EndpointTemporarilyUnavailableException | The cluster endpoint isn't available. Try another cluster endpoint. |
| InternalServerException | There was an unexpected error during processing of the request. |
| ResourceNotFoundException | The request references a routing control or control panel that was not found. |
| ThrottlingException | The request was denied because of request throttling. |
| ValidationException | There was a validation error on the request. |
.NET Framework:
Supported in: 4.7.2 and newer