Class: Aws::Route53RecoveryControlConfig::Types::RuleConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb

Overview

Note:

When making an API call, you may pass RuleConfig data as a hash:

{
  inverted: false, # required
  threshold: 1, # required
  type: "ATLEAST", # required, accepts ATLEAST, AND, OR
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#invertedBoolean

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

Returns:

  • (Boolean)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1384

class RuleConfig < Struct.new(
  :inverted,
  :threshold,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#thresholdInteger

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.

Returns:

  • (Integer)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1384

class RuleConfig < Struct.new(
  :inverted,
  :threshold,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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

Returns:

  • (String)


1384
1385
1386
1387
1388
1389
1390
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1384

class RuleConfig < Struct.new(
  :inverted,
  :threshold,
  :type)
  SENSITIVE = []
  include Aws::Structure
end