Class: Aws::Bedrock::Types::AutomatedReasoningPolicyAddVariableAnnotation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:name, :type, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

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



739
740
741
742
743
744
745
# File 'lib/aws-sdk-bedrock/types.rb', line 739

class AutomatedReasoningPolicyAddVariableAnnotation < Struct.new(
  :name,
  :type,
  :description)
  SENSITIVE = [:name, :type, :description]
  include Aws::Structure
end

#nameString

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



739
740
741
742
743
744
745
# File 'lib/aws-sdk-bedrock/types.rb', line 739

class AutomatedReasoningPolicyAddVariableAnnotation < Struct.new(
  :name,
  :type,
  :description)
  SENSITIVE = [:name, :type, :description]
  include Aws::Structure
end

#typeString

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



739
740
741
742
743
744
745
# File 'lib/aws-sdk-bedrock/types.rb', line 739

class AutomatedReasoningPolicyAddVariableAnnotation < Struct.new(
  :name,
  :type,
  :description)
  SENSITIVE = [:name, :type, :description]
  include Aws::Structure
end