Class: Aws::BedrockAgent::Types::FlowCondition

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

Overview

Defines a condition in the condition node.

Constant Summary collapse

SENSITIVE =
[:expression]

Instance Attribute Summary collapse

Instance Attribute Details

#expressionString

Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in [Node types in prompt flows].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html#flows-nodes

Returns:

  • (String)


2932
2933
2934
2935
2936
2937
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2932

class FlowCondition < Struct.new(
  :expression,
  :name)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#nameString

A name for the condition that you can reference.

Returns:

  • (String)


2932
2933
2934
2935
2936
2937
# File 'lib/aws-sdk-bedrockagent/types.rb', line 2932

class FlowCondition < Struct.new(
  :expression,
  :name)
  SENSITIVE = [:expression]
  include Aws::Structure
end