Class CfnServicePropsMixin.MCPServerDetailsProperty
MCP server configuration.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnServicePropsMixin.MCPServerDetailsProperty : CfnServicePropsMixin.IMCPServerDetailsProperty
Syntax (vb)
Public Class CfnServicePropsMixin.MCPServerDetailsProperty Implements CfnServicePropsMixin.IMCPServerDetailsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
var exchangeParameters;
var mCPServerDetailsProperty = new MCPServerDetailsProperty {
AuthorizationConfig = new MCPServerAuthorizationConfigProperty {
ApiKey = new ApiKeyDetailsProperty {
ApiKeyHeader = "apiKeyHeader",
ApiKeyName = "apiKeyName",
ApiKeyValue = "apiKeyValue"
},
OAuthClientCredentials = new MCPServerOAuthClientCredentialsConfigProperty {
ClientId = "clientId",
ClientName = "clientName",
ClientSecret = "clientSecret",
ExchangeParameters = exchangeParameters,
ExchangeUrl = "exchangeUrl",
Scopes = new [] { "scopes" }
}
},
Description = "description",
Endpoint = "endpoint",
Name = "name"
};
Synopsis
Constructors
| MCPServerDetailsProperty() | MCP server configuration. |
Properties
| AuthorizationConfig | MCP server authorization configuration. |
| Description | Optional description for the MCP server. |
| Endpoint | MCP server endpoint URL. |
| Name | MCP server name. |
Constructors
MCPServerDetailsProperty()
MCP server configuration.
public MCPServerDetailsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
var exchangeParameters;
var mCPServerDetailsProperty = new MCPServerDetailsProperty {
AuthorizationConfig = new MCPServerAuthorizationConfigProperty {
ApiKey = new ApiKeyDetailsProperty {
ApiKeyHeader = "apiKeyHeader",
ApiKeyName = "apiKeyName",
ApiKeyValue = "apiKeyValue"
},
OAuthClientCredentials = new MCPServerOAuthClientCredentialsConfigProperty {
ClientId = "clientId",
ClientName = "clientName",
ClientSecret = "clientSecret",
ExchangeParameters = exchangeParameters,
ExchangeUrl = "exchangeUrl",
Scopes = new [] { "scopes" }
}
},
Description = "description",
Endpoint = "endpoint",
Name = "name"
};
Properties
AuthorizationConfig
MCP server authorization configuration.
public object? AuthorizationConfig { get; set; }
Property Value
Remarks
Description
Optional description for the MCP server.
public string? Description { get; set; }
Property Value
Remarks
Endpoint
MCP server endpoint URL.
public string? Endpoint { get; set; }
Property Value
Remarks
Name
MCP server name.
public string? Name { get; set; }