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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/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.

Returns:

  • (String)


656
657
658
659
660
661
662
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 656

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.

Returns:

  • (String)


656
657
658
659
660
661
662
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 656

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.

Returns:

  • (String)


656
657
658
659
660
661
662
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 656

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