Class: AWSCDK::Bedrock::CfnFlow::AgentFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::AgentFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
Defines an agent node in your flow.
You specify the agent to invoke at this point in the flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
Instance Attribute Summary collapse
-
#agent_alias_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the alias of the agent to invoke.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_alias_arn:) ⇒ AgentFlowNodeConfigurationProperty
constructor
A new instance of AgentFlowNodeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_alias_arn:) ⇒ AgentFlowNodeConfigurationProperty
Returns a new instance of AgentFlowNodeConfigurationProperty.
702 703 704 705 |
# File 'bedrock/cfn_flow.rb', line 702 def initialize(agent_alias_arn:) @agent_alias_arn = agent_alias_arn Jsii::Type.check_type(@agent_alias_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentAliasArn") end |
Instance Attribute Details
#agent_alias_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the alias of the agent to invoke.
711 712 713 |
# File 'bedrock/cfn_flow.rb', line 711 def agent_alias_arn @agent_alias_arn end |
Class Method Details
.jsii_properties ⇒ Object
713 714 715 716 717 |
# File 'bedrock/cfn_flow.rb', line 713 def self.jsii_properties { :agent_alias_arn => "agentAliasArn", } end |
Instance Method Details
#to_jsii ⇒ Object
719 720 721 722 723 724 725 |
# File 'bedrock/cfn_flow.rb', line 719 def to_jsii result = {} result.merge!({ "agentAliasArn" => @agent_alias_arn, }) result.compact end |