Interface CfnService.MCPServerDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.MCPServerDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.MCPServerDetailsProperty
extends software.amazon.jsii.JsiiSerializable
MCP server configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsagent.*;
Object exchangeParameters;
MCPServerDetailsProperty mCPServerDetailsProperty = MCPServerDetailsProperty.builder()
.authorizationConfig(MCPServerAuthorizationConfigProperty.builder()
.apiKey(ApiKeyDetailsProperty.builder()
.apiKeyHeader("apiKeyHeader")
.apiKeyName("apiKeyName")
.apiKeyValue("apiKeyValue")
.build())
.oAuthClientCredentials(MCPServerOAuthClientCredentialsConfigProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.exchangeUrl("exchangeUrl")
// the properties below are optional
.clientName("clientName")
.exchangeParameters(exchangeParameters)
.scopes(List.of("scopes"))
.build())
.build())
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.MCPServerDetailsPropertystatic final classAn implementation forCfnService.MCPServerDetailsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationConfig
MCP server authorization configuration.Returns union: either
IResolvableorCfnService.MCPServerAuthorizationConfigProperty- See Also:
-
getEndpoint
MCP server endpoint URL.- See Also:
-
getName
MCP server name.- See Also:
-
getDescription
Optional description for the MCP server.- See Also:
-
builder
-