class Aws::Route53RecoveryControlConfig::Types::NewAssertionRule

A new assertion rule for a control panel.

@note When making an API call, you may pass NewAssertionRule

data as a hash:

    {
      asserted_controls: ["__string"], # required
      control_panel_arn: "__string", # required
      name: "__stringMin1Max64PatternS", # required
      rule_config: { # required
        inverted: false, # required
        threshold: 1, # required
        type: "ATLEAST", # required, accepts ATLEAST, AND, OR
      },
      wait_period_ms: 1, # required
    }

@!attribute [rw] asserted_controls

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.
@return [Array<String>]

@!attribute [rw] control_panel_arn

The Amazon Resource Name (ARN) for the control panel.
@return [String]

@!attribute [rw] name

The name of the assertion rule. You can use any non-white space
character in the name.
@return [String]

@!attribute [rw] rule_config

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.
@return [Types::RuleConfig]

@!attribute [rw] wait_period_ms

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.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/NewAssertionRule AWS API Documentation

Constants

SENSITIVE