Class: AWSCDK::Interfaces::AWSBedrock::AgentAliasReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBedrock::AgentAliasReference
- Defined in:
- interfaces/aws_bedrock/agent_alias_reference.rb
Overview
A reference to a AgentAlias resource.
Instance Attribute Summary collapse
-
#agent_alias_arn ⇒ String
readonly
The ARN of the AgentAlias resource.
-
#agent_alias_id ⇒ String
readonly
The AgentAliasId of the AgentAlias resource.
-
#agent_id ⇒ String
readonly
The AgentId of the AgentAlias resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_alias_arn:, agent_alias_id:, agent_id:) ⇒ AgentAliasReference
constructor
A new instance of AgentAliasReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_alias_arn:, agent_alias_id:, agent_id:) ⇒ AgentAliasReference
Returns a new instance of AgentAliasReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_bedrock/agent_alias_reference.rb', line 10 def initialize(agent_alias_arn:, agent_alias_id:, agent_id:) @agent_alias_arn = agent_alias_arn Jsii::Type.check_type(@agent_alias_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentAliasArn") @agent_alias_id = agent_alias_id Jsii::Type.check_type(@agent_alias_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentAliasId") @agent_id = agent_id Jsii::Type.check_type(@agent_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentId") end |
Instance Attribute Details
#agent_alias_arn ⇒ String (readonly)
The ARN of the AgentAlias resource.
22 23 24 |
# File 'interfaces/aws_bedrock/agent_alias_reference.rb', line 22 def agent_alias_arn @agent_alias_arn end |
#agent_alias_id ⇒ String (readonly)
The AgentAliasId of the AgentAlias resource.
26 27 28 |
# File 'interfaces/aws_bedrock/agent_alias_reference.rb', line 26 def agent_alias_id @agent_alias_id end |
#agent_id ⇒ String (readonly)
The AgentId of the AgentAlias resource.
30 31 32 |
# File 'interfaces/aws_bedrock/agent_alias_reference.rb', line 30 def agent_id @agent_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_bedrock/agent_alias_reference.rb', line 32 def self.jsii_properties { :agent_alias_arn => "agentAliasArn", :agent_alias_id => "agentAliasId", :agent_id => "agentId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_bedrock/agent_alias_reference.rb', line 40 def to_jsii result = {} result.merge!({ "agentAliasArn" => @agent_alias_arn, "agentAliasId" => @agent_alias_id, "agentId" => @agent_id, }) result.compact end |