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

Description

 
Synopsis

Documentation

data RuleConfig Source #

The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many controls must be enabled after a transaction completes.

See: newRuleConfig smart constructor.

Constructors

RuleConfig' 

Fields

  • type' :: RuleType

    A rule can be one of the following: ATLEAST, AND, or OR.

  • inverted :: Bool

    Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

  • threshold :: Int

    The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

Instances

Instances details
Eq RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Read RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Show RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Generic RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Associated Types

type Rep RuleConfig :: Type -> Type #

NFData RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Methods

rnf :: RuleConfig -> () #

Hashable RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

ToJSON RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

FromJSON RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

type Rep RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

type Rep RuleConfig = D1 ('MetaData "RuleConfig" "Amazonka.Route53RecoveryControlConfig.Types.RuleConfig" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "RuleConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleType) :*: (S1 ('MetaSel ('Just "inverted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRuleConfig Source #

Create a value of RuleConfig 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:type':RuleConfig', ruleConfig_type - A rule can be one of the following: ATLEAST, AND, or OR.

$sel:inverted:RuleConfig', ruleConfig_inverted - Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

$sel:threshold:RuleConfig', ruleConfig_threshold - The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

ruleConfig_type :: Lens' RuleConfig RuleType Source #

A rule can be one of the following: ATLEAST, AND, or OR.

ruleConfig_inverted :: Lens' RuleConfig Bool Source #

Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

ruleConfig_threshold :: Lens' RuleConfig Int Source #

The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.