Class: AWSCDK::Interfaces::AWSBedrockagentcore::RuntimeReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBedrockagentcore::RuntimeReference
- Defined in:
- interfaces/aws_bedrockagentcore/runtime_reference.rb
Overview
A reference to a Runtime resource.
Instance Attribute Summary collapse
-
#agent_runtime_arn ⇒ String
readonly
The ARN of the Runtime resource.
-
#agent_runtime_id ⇒ String
readonly
The AgentRuntimeId of the Runtime resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_runtime_arn:, agent_runtime_id:) ⇒ RuntimeReference
constructor
A new instance of RuntimeReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_runtime_arn:, agent_runtime_id:) ⇒ RuntimeReference
Returns a new instance of RuntimeReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_bedrockagentcore/runtime_reference.rb', line 9 def initialize(agent_runtime_arn:, agent_runtime_id:) @agent_runtime_arn = agent_runtime_arn Jsii::Type.check_type(@agent_runtime_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeArn") @agent_runtime_id = agent_runtime_id Jsii::Type.check_type(@agent_runtime_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeId") end |
Instance Attribute Details
#agent_runtime_arn ⇒ String (readonly)
The ARN of the Runtime resource.
19 20 21 |
# File 'interfaces/aws_bedrockagentcore/runtime_reference.rb', line 19 def agent_runtime_arn @agent_runtime_arn end |
#agent_runtime_id ⇒ String (readonly)
The AgentRuntimeId of the Runtime resource.
23 24 25 |
# File 'interfaces/aws_bedrockagentcore/runtime_reference.rb', line 23 def agent_runtime_id @agent_runtime_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_bedrockagentcore/runtime_reference.rb', line 25 def self.jsii_properties { :agent_runtime_arn => "agentRuntimeArn", :agent_runtime_id => "agentRuntimeId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_bedrockagentcore/runtime_reference.rb', line 32 def to_jsii result = {} result.merge!({ "agentRuntimeArn" => @agent_runtime_arn, "agentRuntimeId" => @agent_runtime_id, }) result.compact end |