amazonka-route53-recovery-cluster-2.0: Amazon Route53 Recovery Cluster SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53RecoveryCluster.Types.RoutingControl

Description

 
Synopsis

Documentation

data RoutingControl Source #

A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

See: newRoutingControl smart constructor.

Constructors

RoutingControl' 

Fields

Instances

Instances details
FromJSON RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Generic RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Associated Types

type Rep RoutingControl :: Type -> Type #

Read RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Show RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

NFData RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Methods

rnf :: RoutingControl -> () #

Eq RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Hashable RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

type Rep RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

type Rep RoutingControl = D1 ('MetaData "RoutingControl" "Amazonka.Route53RecoveryCluster.Types.RoutingControl" "amazonka-route53-recovery-cluster-2.0-DxeQnRCPOPo1FMbWCdEnyv" 'False) (C1 ('MetaCons "RoutingControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "controlPanelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "routingControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routingControlName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routingControlState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoutingControlState))))))

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 where the routing control is located.

$sel:controlPanelName:RoutingControl', routingControl_controlPanelName - The name of the control panel where the routing control is located.

$sel:routingControlArn:RoutingControl', routingControl_routingControlArn - The Amazon Resource Name (ARN) of the routing control.

$sel:routingControlName:RoutingControl', routingControl_routingControlName - The name of the routing control.

$sel:routingControlState:RoutingControl', routingControl_routingControlState - The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

routingControl_controlPanelArn :: Lens' RoutingControl (Maybe Text) Source #

The Amazon Resource Name (ARN) of the control panel where the routing control is located.

routingControl_controlPanelName :: Lens' RoutingControl (Maybe Text) Source #

The name of the control panel where the routing control is located.

routingControl_routingControlArn :: Lens' RoutingControl (Maybe Text) Source #

The Amazon Resource Name (ARN) of the routing control.

routingControl_routingControlState :: Lens' RoutingControl (Maybe RoutingControlState) Source #

The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.