Class: AWSCDK::DevOpsAgent::CfnAssociation::MCPServerDatadogConfigurationProperty

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

Overview

Configuration for Datadog 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) ⇒ MCPServerDatadogConfigurationProperty

Returns a new instance of MCPServerDatadogConfigurationProperty.

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.



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'dev_ops_agent/cfn_association.rb', line 1062

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.



1077
1078
1079
# File 'dev_ops_agent/cfn_association.rb', line 1077

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.



1082
1083
1084
# File 'dev_ops_agent/cfn_association.rb', line 1082

def enable_webhook_updates
  @enable_webhook_updates
end

#endpointString? (readonly)

MCP server endpoint URL.



1087
1088
1089
# File 'dev_ops_agent/cfn_association.rb', line 1087

def endpoint
  @endpoint
end

#nameString? (readonly)

The name of the MCP server.



1092
1093
1094
# File 'dev_ops_agent/cfn_association.rb', line 1092

def name
  @name
end

Class Method Details

.jsii_propertiesObject



1094
1095
1096
1097
1098
1099
1100
1101
# File 'dev_ops_agent/cfn_association.rb', line 1094

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

Instance Method Details

#to_jsiiObject



1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
# File 'dev_ops_agent/cfn_association.rb', line 1103

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