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 controls must be enabled 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)


1310
1311
1312
1313
1314
1315
1316
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1310

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)


1310
1311
1312
1313
1314
1315
1316
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1310

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)


1310
1311
1312
1313
1314
1315
1316
# File 'gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/types.rb', line 1310

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