Skip to content

Bedrock  >  Structures  >  AutomatedReasoningPolicyDefinitionQualityReport

AutomatedReasoningPolicyDefinitionQualityReport

Structure Class

AutomatedReasoningPolicyDefinitionQualityReport dataclass

Provides a comprehensive analysis of the quality and completeness of an Automated Reasoning policy definition, highlighting potential issues and optimization opportunities.

Attributes

conflicting_rules instance-attribute
conflicting_rules: list[str]

A list of rules that may conflict with each other, potentially leading to inconsistent policy behavior.

disjoint_rule_sets instance-attribute
disjoint_rule_sets: list[AutomatedReasoningPolicyDisjointRuleSet]

Groups of rules that operate on completely separate sets of variables, indicating the policy may be addressing multiple unrelated concerns.

rule_count instance-attribute
rule_count: int

The total number of rules defined in the policy.

type_count instance-attribute
type_count: int

The total number of custom types defined in the policy.

unused_type_values instance-attribute

A list of type values that are defined but never used in any rules, indicating potential cleanup opportunities.

unused_types instance-attribute
unused_types: list[str]

A list of custom types that are defined but not referenced by any variables or rules, suggesting they may be unnecessary.

unused_variables instance-attribute
unused_variables: list[str]

A list of variables that are defined but not referenced by any rules, suggesting they may be unnecessary.

variable_count instance-attribute
variable_count: int

The total number of variables defined in the policy.