amazonka-route53-recovery-control-config-2.0: Amazon Route53 Recovery Control Config 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.Route53RecoveryControlConfig.Types.RoutingControl

Description

 
Synopsis

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

Instances details
FromJSON RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Generic RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Associated Types

type Rep RoutingControl :: Type -> Type #

Read RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Show RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

NFData RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Methods

rnf :: RoutingControl -> () #

Eq RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Hashable RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

type Rep RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

type Rep RoutingControl = D1 ('MetaData "RoutingControl" "Amazonka.Route53RecoveryControlConfig.Types.RoutingControl" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "RoutingControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "routingControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)))))

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.