Class: AWSCDK::DevOpsAgent::CfnAssociation::MCPServerNewRelicConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnAssociation::MCPServerNewRelicConfigurationProperty
- Defined in:
- dev_ops_agent/cfn_association.rb
Overview
Configuration for New Relic MCP server integration.
Defines the New Relic account ID and MCP server endpoint URL required for the Agent Space to authenticate and query observability data from New Relic.
Instance Attribute Summary collapse
-
#account_id ⇒ String
readonly
New Relic Account ID.
-
#endpoint ⇒ String
readonly
MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_id:, endpoint:) ⇒ MCPServerNewRelicConfigurationProperty
constructor
A new instance of MCPServerNewRelicConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(account_id:, endpoint:) ⇒ MCPServerNewRelicConfigurationProperty
Returns a new instance of MCPServerNewRelicConfigurationProperty.
1178 1179 1180 1181 1182 1183 |
# File 'dev_ops_agent/cfn_association.rb', line 1178 def initialize(account_id:, endpoint:) @account_id = account_id Jsii::Type.check_type(@account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountId") @endpoint = endpoint Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") end |
Instance Attribute Details
#account_id ⇒ String (readonly)
New Relic Account ID.
1189 1190 1191 |
# File 'dev_ops_agent/cfn_association.rb', line 1189 def account_id @account_id end |
#endpoint ⇒ String (readonly)
MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/).
1194 1195 1196 |
# File 'dev_ops_agent/cfn_association.rb', line 1194 def endpoint @endpoint end |
Class Method Details
.jsii_properties ⇒ Object
1196 1197 1198 1199 1200 1201 |
# File 'dev_ops_agent/cfn_association.rb', line 1196 def self.jsii_properties { :account_id => "accountId", :endpoint => "endpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'dev_ops_agent/cfn_association.rb', line 1203 def to_jsii result = {} result.merge!({ "accountId" => @account_id, "endpoint" => @endpoint, }) result.compact end |