Class: AWSCDK::DevOpsAgent::CfnService::MCPServerGrafanaDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnService::MCPServerGrafanaDetailsProperty
- Defined in:
- dev_ops_agent/cfn_service.rb
Overview
Grafana MCP server configuration.
Instance Attribute Summary collapse
-
#authorization_config ⇒ AWSCDK::IResolvable, AWSCDK::DevOpsAgent::CfnService::MCPServerGrafanaAuthorizationConfigProperty
readonly
Grafana MCP server authorization configuration.
-
#description ⇒ String?
readonly
Optional description for the MCP server.
-
#endpoint ⇒ String
readonly
MCP server endpoint URL.
-
#name ⇒ String
readonly
MCP server name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorization_config:, endpoint:, name:, description: nil) ⇒ MCPServerGrafanaDetailsProperty
constructor
A new instance of MCPServerGrafanaDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorization_config:, endpoint:, name:, description: nil) ⇒ MCPServerGrafanaDetailsProperty
Returns a new instance of MCPServerGrafanaDetailsProperty.
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 |
# File 'dev_ops_agent/cfn_service.rb', line 1177 def initialize(authorization_config:, endpoint:, name:, description: nil) @authorization_config = .is_a?(Hash) ? ::AWSCDK::DevOpsAgent::CfnService::MCPServerGrafanaAuthorizationConfigProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@authorization_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kZXZvcHNhZ2VudC5DZm5TZXJ2aWNlLk1DUFNlcnZlckdyYWZhbmFBdXRob3JpemF0aW9uQ29uZmlnUHJvcGVydHkifV19fQ==")), "authorizationConfig") @endpoint = endpoint Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#authorization_config ⇒ AWSCDK::IResolvable, AWSCDK::DevOpsAgent::CfnService::MCPServerGrafanaAuthorizationConfigProperty (readonly)
Grafana MCP server authorization configuration.
1192 1193 1194 |
# File 'dev_ops_agent/cfn_service.rb', line 1192 def @authorization_config end |
#description ⇒ String? (readonly)
Optional description for the MCP server.
1207 1208 1209 |
# File 'dev_ops_agent/cfn_service.rb', line 1207 def description @description end |
#endpoint ⇒ String (readonly)
MCP server endpoint URL.
1197 1198 1199 |
# File 'dev_ops_agent/cfn_service.rb', line 1197 def endpoint @endpoint end |
#name ⇒ String (readonly)
MCP server name.
1202 1203 1204 |
# File 'dev_ops_agent/cfn_service.rb', line 1202 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'dev_ops_agent/cfn_service.rb', line 1209 def self.jsii_properties { :authorization_config => "authorizationConfig", :endpoint => "endpoint", :name => "name", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'dev_ops_agent/cfn_service.rb', line 1218 def to_jsii result = {} result.merge!({ "authorizationConfig" => @authorization_config, "endpoint" => @endpoint, "name" => @name, "description" => @description, }) result.compact end |