Class: AWSCDK::BedrockAgentCore::CfnRuntimeEndpointProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnRuntimeEndpointProps
- Defined in:
- bedrock_agent_core/cfn_runtime_endpoint_props.rb
Overview
Properties for defining a CfnRuntimeEndpoint.
Instance Attribute Summary collapse
-
#agent_runtime_id ⇒ String
readonly
The agent runtime ID.
-
#agent_runtime_version ⇒ String?
readonly
The version of the agent.
-
#description ⇒ String?
readonly
Contains information about an agent runtime endpoint.
-
#name ⇒ String
readonly
The name of the AgentCore Runtime endpoint.
-
#tags ⇒ Hash{String => String}?
readonly
The tags for the AgentCore Runtime endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_runtime_id:, name:, agent_runtime_version: nil, description: nil, tags: nil) ⇒ CfnRuntimeEndpointProps
constructor
A new instance of CfnRuntimeEndpointProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_runtime_id:, name:, agent_runtime_version: nil, description: nil, tags: nil) ⇒ CfnRuntimeEndpointProps
Returns a new instance of CfnRuntimeEndpointProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 14 def initialize(agent_runtime_id:, name:, agent_runtime_version: nil, description: nil, tags: nil) @agent_runtime_id = agent_runtime_id Jsii::Type.check_type(@agent_runtime_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @agent_runtime_version = agent_runtime_version Jsii::Type.check_type(@agent_runtime_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeVersion") unless @agent_runtime_version.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#agent_runtime_id ⇒ String (readonly)
The agent runtime ID.
31 32 33 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 31 def agent_runtime_id @agent_runtime_id end |
#agent_runtime_version ⇒ String? (readonly)
The version of the agent.
41 42 43 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 41 def agent_runtime_version @agent_runtime_version end |
#description ⇒ String? (readonly)
Contains information about an agent runtime endpoint.
An agent runtime is the execution environment for a Amazon Bedrock Agent.
48 49 50 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 48 def description @description end |
#name ⇒ String (readonly)
The name of the AgentCore Runtime endpoint.
36 37 38 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 36 def name @name end |
#tags ⇒ Hash{String => String}? (readonly)
The tags for the AgentCore Runtime endpoint.
53 54 55 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 53 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
55 56 57 58 59 60 61 62 63 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 55 def self.jsii_properties { :agent_runtime_id => "agentRuntimeId", :name => "name", :agent_runtime_version => "agentRuntimeVersion", :description => "description", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 |
# File 'bedrock_agent_core/cfn_runtime_endpoint_props.rb', line 65 def to_jsii result = {} result.merge!({ "agentRuntimeId" => @agent_runtime_id, "name" => @name, "agentRuntimeVersion" => @agent_runtime_version, "description" => @description, "tags" => @tags, }) result.compact end |