Class: AWSCDK::BedrockAgentCore::RuntimeEndpointAttributes
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::RuntimeEndpointAttributes
- Defined in:
- bedrock_agent_core/runtime_endpoint_attributes.rb
Overview
Attributes for importing an existing Runtime Endpoint.
Instance Attribute Summary collapse
-
#agent_runtime_arn ⇒ String
readonly
The ARN of the parent agent runtime.
-
#agent_runtime_endpoint_arn ⇒ String
readonly
The ARN of the runtime endpoint.
-
#created_at ⇒ String?
readonly
When the endpoint was created.
-
#description ⇒ String?
readonly
The description of the runtime endpoint.
-
#endpoint_id ⇒ String?
readonly
The unique identifier of the runtime endpoint.
-
#endpoint_name ⇒ String
readonly
The name of the runtime endpoint.
-
#last_updated_at ⇒ String?
readonly
When the endpoint was last updated.
-
#live_version ⇒ String?
readonly
The live version of the agent runtime that is currently serving requests.
-
#status ⇒ String?
readonly
The current status of the runtime endpoint.
-
#target_version ⇒ String?
readonly
The target version the endpoint is transitioning to (during updates).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_runtime_arn:, agent_runtime_endpoint_arn:, endpoint_name:, created_at: nil, description: nil, endpoint_id: nil, last_updated_at: nil, live_version: nil, status: nil, target_version: nil) ⇒ RuntimeEndpointAttributes
constructor
A new instance of RuntimeEndpointAttributes.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_runtime_arn:, agent_runtime_endpoint_arn:, endpoint_name:, created_at: nil, description: nil, endpoint_id: nil, last_updated_at: nil, live_version: nil, status: nil, target_version: nil) ⇒ RuntimeEndpointAttributes
Returns a new instance of RuntimeEndpointAttributes.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 17 def initialize(agent_runtime_arn:, agent_runtime_endpoint_arn:, endpoint_name:, created_at: nil, description: nil, endpoint_id: nil, last_updated_at: nil, live_version: nil, status: nil, target_version: nil) @agent_runtime_arn = agent_runtime_arn Jsii::Type.check_type(@agent_runtime_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeArn") @agent_runtime_endpoint_arn = agent_runtime_endpoint_arn Jsii::Type.check_type(@agent_runtime_endpoint_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "agentRuntimeEndpointArn") @endpoint_name = endpoint_name Jsii::Type.check_type(@endpoint_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpointName") @created_at = created_at Jsii::Type.check_type(@created_at, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "createdAt") unless @created_at.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @endpoint_id = endpoint_id Jsii::Type.check_type(@endpoint_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpointId") unless @endpoint_id.nil? @last_updated_at = last_updated_at Jsii::Type.check_type(@last_updated_at, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lastUpdatedAt") unless @last_updated_at.nil? @live_version = live_version Jsii::Type.check_type(@live_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "liveVersion") unless @live_version.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? @target_version = target_version Jsii::Type.check_type(@target_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetVersion") unless @target_version.nil? end |
Instance Attribute Details
#agent_runtime_arn ⇒ String (readonly)
The ARN of the parent agent runtime.
43 44 45 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 43 def agent_runtime_arn @agent_runtime_arn end |
#agent_runtime_endpoint_arn ⇒ String (readonly)
The ARN of the runtime endpoint.
47 48 49 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 47 def agent_runtime_endpoint_arn @agent_runtime_endpoint_arn end |
#created_at ⇒ String? (readonly)
Default: - Creation time not available
When the endpoint was created.
56 57 58 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 56 def created_at @created_at end |
#description ⇒ String? (readonly)
Default: - No description
The description of the runtime endpoint.
61 62 63 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 61 def description @description end |
#endpoint_id ⇒ String? (readonly)
Default: - Endpoint ID not available
The unique identifier of the runtime endpoint.
66 67 68 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 66 def endpoint_id @endpoint_id end |
#endpoint_name ⇒ String (readonly)
The name of the runtime endpoint.
51 52 53 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 51 def endpoint_name @endpoint_name end |
#last_updated_at ⇒ String? (readonly)
Default: - Last update time not available
When the endpoint was last updated.
71 72 73 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 71 def last_updated_at @last_updated_at end |
#live_version ⇒ String? (readonly)
Default: - Live version not available
The live version of the agent runtime that is currently serving requests.
76 77 78 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 76 def live_version @live_version end |
#status ⇒ String? (readonly)
Default: - Status not available
The current status of the runtime endpoint.
81 82 83 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 81 def status @status end |
#target_version ⇒ String? (readonly)
Default: - Target version not available
The target version the endpoint is transitioning to (during updates).
86 87 88 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 86 def target_version @target_version end |
Class Method Details
.jsii_properties ⇒ Object
88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 88 def self.jsii_properties { :agent_runtime_arn => "agentRuntimeArn", :agent_runtime_endpoint_arn => "agentRuntimeEndpointArn", :endpoint_name => "endpointName", :created_at => "createdAt", :description => "description", :endpoint_id => "endpointId", :last_updated_at => "lastUpdatedAt", :live_version => "liveVersion", :status => "status", :target_version => "targetVersion", } end |
Instance Method Details
#to_jsii ⇒ Object
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'bedrock_agent_core/runtime_endpoint_attributes.rb', line 103 def to_jsii result = {} result.merge!({ "agentRuntimeArn" => @agent_runtime_arn, "agentRuntimeEndpointArn" => @agent_runtime_endpoint_arn, "endpointName" => @endpoint_name, "createdAt" => @created_at, "description" => @description, "endpointId" => @endpoint_id, "lastUpdatedAt" => @last_updated_at, "liveVersion" => @live_version, "status" => @status, "targetVersion" => @target_version, }) result.compact end |