Class: AWSCDK::Bedrock::CfnAgentAlias::AgentAliasRoutingConfigurationListItemProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_agent_alias.rb

Overview

Contains details about the routing configuration of the alias.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent_version:) ⇒ AgentAliasRoutingConfigurationListItemProperty

Returns a new instance of AgentAliasRoutingConfigurationListItemProperty.

Parameters:

  • agent_version (String)

    The version of the agent with which the alias is associated.



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_versionString (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_propertiesObject



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_jsiiObject



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