Interface CfnService.MCPServerAuthorizationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.MCPServerAuthorizationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.MCPServerAuthorizationConfigProperty
extends software.amazon.jsii.JsiiSerializable
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;
MCPServerAuthorizationConfigProperty mCPServerAuthorizationConfigProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.MCPServerAuthorizationConfigPropertystatic final classAn implementation forCfnService.MCPServerAuthorizationConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiKey
API key authentication details.Returns union: either
IResolvableorCfnService.ApiKeyDetailsProperty- See Also:
-
getOAuthClientCredentials
MCP server OAuth client credentials configuration.Returns union: either
IResolvableorCfnService.MCPServerOAuthClientCredentialsConfigProperty- See Also:
-
builder
-