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

Description

 
Synopsis

Documentation

data AssertionRuleUpdate Source #

An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.

See: newAssertionRuleUpdate smart constructor.

Constructors

AssertionRuleUpdate' 

Fields

  • safetyRuleArn :: Text

    The Amazon Resource Name (ARN) of the assertion rule.

  • 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 AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Read AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Show AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Generic AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Associated Types

type Rep AssertionRuleUpdate :: Type -> Type #

NFData AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Methods

rnf :: AssertionRuleUpdate -> () #

Hashable AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

ToJSON AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

type Rep AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

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

newAssertionRuleUpdate Source #

Create a value of AssertionRuleUpdate 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:safetyRuleArn:AssertionRuleUpdate', assertionRuleUpdate_safetyRuleArn - The Amazon Resource Name (ARN) of the assertion rule.

$sel:waitPeriodMs:AssertionRuleUpdate', assertionRuleUpdate_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:AssertionRuleUpdate', assertionRuleUpdate_name - The name of the assertion rule. You can use any non-white space character in the name.

assertionRuleUpdate_safetyRuleArn :: Lens' AssertionRuleUpdate Text Source #

The Amazon Resource Name (ARN) of the assertion rule.

assertionRuleUpdate_waitPeriodMs :: Lens' AssertionRuleUpdate 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.

assertionRuleUpdate_name :: Lens' AssertionRuleUpdate Text Source #

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