Interface CfnServicePropsMixin.MCPServerDetailsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServicePropsMixin.MCPServerDetailsProperty.Jsii$Proxy
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static interface CfnServicePropsMixin.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.cfnpropertymixins.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")
.clientName("clientName")
.clientSecret("clientSecret")
.exchangeParameters(exchangeParameters)
.exchangeUrl("exchangeUrl")
.scopes(List.of("scopes"))
.build())
.build())
.description("description")
.endpoint("endpoint")
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServicePropsMixin.MCPServerDetailsPropertystatic final classAn implementation forCfnServicePropsMixin.MCPServerDetailsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationConfig
MCP server authorization configuration.Returns union: either
IResolvableorCfnServicePropsMixin.MCPServerAuthorizationConfigProperty- See Also:
-
getDescription
Optional description for the MCP server.- See Also:
-
getEndpoint
MCP server endpoint URL.- See Also:
-
getName
MCP server name.- See Also:
-
builder
-