Skip to content

Bedrock  >  Structures  >  AutomatedReasoningPolicyAddVariableAnnotation

AutomatedReasoningPolicyAddVariableAnnotation

Structure Class

AutomatedReasoningPolicyAddVariableAnnotation dataclass

An annotation for adding a new variable to an Automated Reasoning policy, which can be used in rule expressions.

Attributes

description class-attribute instance-attribute
description: str = field(repr=False)

A description of what the variable represents and how it should be used in rules.

name class-attribute instance-attribute
name: str = field(repr=False)

The name of the new variable. This name will be used to reference the variable in rule expressions.

type class-attribute instance-attribute
type: str = field(repr=False)

The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.