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

Description

 
Synopsis

Documentation

data NewAssertionRule Source #

A new assertion rule for a control panel.

See: newNewAssertionRule smart constructor.

Constructors

NewAssertionRule' 

Fields

  • controlPanelArn :: Text

    The Amazon Resource Name (ARN) for the control panel.

  • assertedControls :: [Text]

    The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

  • ruleConfig :: RuleConfig

    The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    The name of the assertion rule. You can use any non-white space character in the name.

Instances

Instances details
Eq NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Read NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Show NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Generic NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Associated Types

type Rep NewAssertionRule :: Type -> Type #

NFData NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Methods

rnf :: NewAssertionRule -> () #

Hashable NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

ToJSON NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

type Rep NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

type Rep NewAssertionRule = D1 ('MetaData "NewAssertionRule" "Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "NewAssertionRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "assertedControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])) :*: (S1 ('MetaSel ('Just "ruleConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleConfig) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newNewAssertionRule Source #

Create a value of NewAssertionRule 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:NewAssertionRule', newAssertionRule_controlPanelArn - The Amazon Resource Name (ARN) for the control panel.

$sel:assertedControls:NewAssertionRule', newAssertionRule_assertedControls - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

$sel:ruleConfig:NewAssertionRule', newAssertionRule_ruleConfig - The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

$sel:waitPeriodMs:NewAssertionRule', newAssertionRule_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:NewAssertionRule', newAssertionRule_name - The name of the assertion rule. You can use any non-white space character in the name.

newAssertionRule_controlPanelArn :: Lens' NewAssertionRule Text Source #

The Amazon Resource Name (ARN) for the control panel.

newAssertionRule_assertedControls :: Lens' NewAssertionRule [Text] Source #

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

newAssertionRule_ruleConfig :: Lens' NewAssertionRule RuleConfig Source #

The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

newAssertionRule_waitPeriodMs :: Lens' NewAssertionRule Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

newAssertionRule_name :: Lens' NewAssertionRule Text Source #

The name of the assertion rule. You can use any non-white space character in the name.