Class: AWSCDK::Bedrock::CfnAgentAlias::AgentAliasRoutingConfigurationListItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnAgentAlias::AgentAliasRoutingConfigurationListItemProperty
- Defined in:
- bedrock/cfn_agent_alias.rb
Overview
Contains details about the routing configuration of the alias.
Instance Attribute Summary collapse
-
#agent_version ⇒ String
readonly
The version of the agent with which the alias is associated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_version:) ⇒ AgentAliasRoutingConfigurationListItemProperty
constructor
A new instance of AgentAliasRoutingConfigurationListItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_version:) ⇒ AgentAliasRoutingConfigurationListItemProperty
Returns a new instance of AgentAliasRoutingConfigurationListItemProperty.
678 679 680 681 |
# File 'bedrock/cfn_agent_alias.rb', line 678 def initialize(agent_version:) @agent_version = agent_version Jsii::Type.check_type(@agent_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentVersion") end |
Instance Attribute Details
#agent_version ⇒ String (readonly)
The version of the agent with which the alias is associated.
687 688 689 |
# File 'bedrock/cfn_agent_alias.rb', line 687 def agent_version @agent_version end |
Class Method Details
.jsii_properties ⇒ Object
689 690 691 692 693 |
# File 'bedrock/cfn_agent_alias.rb', line 689 def self.jsii_properties { :agent_version => "agentVersion", } end |
Instance Method Details
#to_jsii ⇒ Object
695 696 697 698 699 700 701 |
# File 'bedrock/cfn_agent_alias.rb', line 695 def to_jsii result = {} result.merge!({ "agentVersion" => @agent_version, }) result.compact end |