| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53RecoveryControlConfig.Types.RoutingControl
Description
Synopsis
- data RoutingControl = RoutingControl' {}
- newRoutingControl :: RoutingControl
- routingControl_controlPanelArn :: Lens' RoutingControl (Maybe Text)
- routingControl_name :: Lens' RoutingControl (Maybe Text)
- routingControl_routingControlArn :: Lens' RoutingControl (Maybe Text)
- routingControl_status :: Lens' RoutingControl (Maybe Status)
Documentation
data RoutingControl Source #
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
See: newRoutingControl smart constructor.
Constructors
| RoutingControl' | |
Fields
| |
Instances
newRoutingControl :: RoutingControl Source #
Create a value of RoutingControl with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:controlPanelArn:RoutingControl', routingControl_controlPanelArn - The Amazon Resource Name (ARN) of the control panel that includes the
routing control.
$sel:name:RoutingControl', routingControl_name - The name of the routing control.
$sel:routingControlArn:RoutingControl', routingControl_routingControlArn - The Amazon Resource Name (ARN) of the routing control.
$sel:status:RoutingControl', routingControl_status - The deployment status of a routing control. Status can be one of the
following: PENDING, DEPLOYED, PENDING_DELETION.
routingControl_controlPanelArn :: Lens' RoutingControl (Maybe Text) Source #
The Amazon Resource Name (ARN) of the control panel that includes the routing control.
routingControl_name :: Lens' RoutingControl (Maybe Text) Source #
The name of the routing control.
routingControl_routingControlArn :: Lens' RoutingControl (Maybe Text) Source #
The Amazon Resource Name (ARN) of the routing control.
routingControl_status :: Lens' RoutingControl (Maybe Status) Source #
The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.