Class: AWSCDK::DevOpsAgent::CfnService::MCPServerSplunkDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnService::MCPServerSplunkDetailsProperty
- Defined in:
- dev_ops_agent/cfn_service.rb
Overview
Splunk MCP server configuration.
Instance Attribute Summary collapse
-
#authorization_config ⇒ AWSCDK::IResolvable, AWSCDK::DevOpsAgent::CfnService::MCPServerSplunkAuthorizationConfigProperty
readonly
MCP server splunk 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) ⇒ MCPServerSplunkDetailsProperty
constructor
A new instance of MCPServerSplunkDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorization_config:, endpoint:, name:, description: nil) ⇒ MCPServerSplunkDetailsProperty
Returns a new instance of MCPServerSplunkDetailsProperty.
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 |
# File 'dev_ops_agent/cfn_service.rb', line 1484 def initialize(authorization_config:, endpoint:, name:, description: nil) @authorization_config = .is_a?(Hash) ? ::AWSCDK::DevOpsAgent::CfnService::MCPServerSplunkAuthorizationConfigProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@authorization_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kZXZvcHNhZ2VudC5DZm5TZXJ2aWNlLk1DUFNlcnZlclNwbHVua0F1dGhvcml6YXRpb25Db25maWdQcm9wZXJ0eSJ9XX19")), "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::MCPServerSplunkAuthorizationConfigProperty (readonly)
MCP server splunk authorization configuration.
1499 1500 1501 |
# File 'dev_ops_agent/cfn_service.rb', line 1499 def @authorization_config end |
#description ⇒ String? (readonly)
Optional description for the MCP server.
1514 1515 1516 |
# File 'dev_ops_agent/cfn_service.rb', line 1514 def description @description end |
#endpoint ⇒ String (readonly)
MCP server endpoint URL.
1504 1505 1506 |
# File 'dev_ops_agent/cfn_service.rb', line 1504 def endpoint @endpoint end |
#name ⇒ String (readonly)
MCP server name.
1509 1510 1511 |
# File 'dev_ops_agent/cfn_service.rb', line 1509 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1516 1517 1518 1519 1520 1521 1522 1523 |
# File 'dev_ops_agent/cfn_service.rb', line 1516 def self.jsii_properties { :authorization_config => "authorizationConfig", :endpoint => "endpoint", :name => "name", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 |
# File 'dev_ops_agent/cfn_service.rb', line 1525 def to_jsii result = {} result.merge!({ "authorizationConfig" => @authorization_config, "endpoint" => @endpoint, "name" => @name, "description" => @description, }) result.compact end |