libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Read RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Show 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 #

NFData RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Methods

rnf :: RoutingControl -> () #

Hashable RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

FromJSON 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" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "RoutingControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: 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)))))

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:status:RoutingControl', routingControl_status - The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

$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.

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.

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.