Class: AWSCDK::DevOpsAgent::CfnAssociation::MCPServerSplunkConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
dev_ops_agent/cfn_association.rb

Overview

Configuration for Splunk MCP server integration.

Defines the server name, endpoint URL, optional description, and webhook update settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description: nil, enable_webhook_updates: nil, endpoint: nil, name: nil) ⇒ MCPServerSplunkConfigurationProperty

Returns a new instance of MCPServerSplunkConfigurationProperty.

Parameters:

  • description (String, nil) (defaults to: nil)

    The description of the MCP server.

  • enable_webhook_updates (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.

  • endpoint (String, nil) (defaults to: nil)

    MCP server endpoint URL.

  • name (String, nil) (defaults to: nil)

    The name of the MCP server.



1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
# File 'dev_ops_agent/cfn_association.rb', line 1258

def initialize(description: nil, enable_webhook_updates: nil, endpoint: nil, name: nil)
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil?
  @enable_webhook_updates = enable_webhook_updates
  Jsii::Type.check_type(@enable_webhook_updates, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enableWebhookUpdates") unless @enable_webhook_updates.nil?
  @endpoint = endpoint
  Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") unless @endpoint.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
end

Instance Attribute Details

#descriptionString? (readonly)

The description of the MCP server.



1273
1274
1275
# File 'dev_ops_agent/cfn_association.rb', line 1273

def description
  @description
end

#enable_webhook_updatesBoolean, ... (readonly)

When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.



1278
1279
1280
# File 'dev_ops_agent/cfn_association.rb', line 1278

def enable_webhook_updates
  @enable_webhook_updates
end

#endpointString? (readonly)

MCP server endpoint URL.



1283
1284
1285
# File 'dev_ops_agent/cfn_association.rb', line 1283

def endpoint
  @endpoint
end

#nameString? (readonly)

The name of the MCP server.



1288
1289
1290
# File 'dev_ops_agent/cfn_association.rb', line 1288

def name
  @name
end

Class Method Details

.jsii_propertiesObject



1290
1291
1292
1293
1294
1295
1296
1297
# File 'dev_ops_agent/cfn_association.rb', line 1290

def self.jsii_properties
  {
    :description => "description",
    :enable_webhook_updates => "enableWebhookUpdates",
    :endpoint => "endpoint",
    :name => "name",
  }
end

Instance Method Details

#to_jsiiObject



1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
# File 'dev_ops_agent/cfn_association.rb', line 1299

def to_jsii
  result = {}
  result.merge!({
    "description" => @description,
    "enableWebhookUpdates" => @enable_webhook_updates,
    "endpoint" => @endpoint,
    "name" => @name,
  })
  result.compact
end