Interface CfnServiceMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:25.997Z")
@Stability(Stable)
public interface CfnServiceMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnServicePropsMixin.
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;
CfnServiceMixinProps cfnServiceMixinProps = CfnServiceMixinProps.builder()
.exchangeUrlPrivateConnectionName("exchangeUrlPrivateConnectionName")
.kmsKeyArn("kmsKeyArn")
.privateConnectionName("privateConnectionName")
.serviceDetails(ServiceDetailsProperty.builder()
.azureIdentity(AzureIdentityServiceDetailsProperty.builder()
.clientId("clientId")
.tenantId("tenantId")
.webIdentityRoleArn("webIdentityRoleArn")
.webIdentityTokenAudiences(List.of("webIdentityTokenAudiences"))
.build())
.dynatrace(DynatraceServiceDetailsProperty.builder()
.accountUrn("accountUrn")
.authorizationConfig(DynatraceAuthorizationConfigProperty.builder()
.oAuthClientCredentials(OAuthClientDetailsProperty.builder()
.clientId("clientId")
.clientName("clientName")
.clientSecret("clientSecret")
.exchangeParameters(exchangeParameters)
.build())
.build())
.build())
.gitLab(GitLabDetailsProperty.builder()
.groupId("groupId")
.targetUrl("targetUrl")
.tokenType("tokenType")
.tokenValue("tokenValue")
.build())
.mcpServer(MCPServerDetailsProperty.builder()
.authorizationConfig(MCPServerAuthorizationConfigProperty.builder()
.apiKey(ApiKeyDetailsProperty.builder()
.apiKeyHeader("apiKeyHeader")
.apiKeyName("apiKeyName")
.apiKeyValue("apiKeyValue")
.build())
.bearerToken(BearerTokenDetailsProperty.builder()
.authorizationHeader("authorizationHeader")
.tokenName("tokenName")
.tokenValue("tokenValue")
.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())
.mcpServerGrafana(MCPServerGrafanaDetailsProperty.builder()
.authorizationConfig(MCPServerGrafanaAuthorizationConfigProperty.builder()
.bearerToken(BearerTokenDetailsProperty.builder()
.authorizationHeader("authorizationHeader")
.tokenName("tokenName")
.tokenValue("tokenValue")
.build())
.build())
.description("description")
.endpoint("endpoint")
.name("name")
.build())
.mcpServerNewRelic(NewRelicServiceDetailsProperty.builder()
.authorizationConfig(NewRelicAuthorizationConfigProperty.builder()
.apiKey(NewRelicApiKeyConfigProperty.builder()
.accountId("accountId")
.alertPolicyIds(List.of("alertPolicyIds"))
.apiKey("apiKey")
.applicationIds(List.of("applicationIds"))
.entityGuids(List.of("entityGuids"))
.region("region")
.build())
.build())
.build())
.mcpServerSigV4(MCPServerSigV4DetailsProperty.builder()
.authorizationConfig(MCPServerSigV4AuthorizationConfigProperty.builder()
.customHeaders(Map.of(
"customHeadersKey", "customHeaders"))
.mcpRoleArn("mcpRoleArn")
.region("region")
.roleArn("roleArn")
.service("service")
.build())
.description("description")
.endpoint("endpoint")
.name("name")
.build())
.mcpServerSplunk(MCPServerSplunkDetailsProperty.builder()
.authorizationConfig(MCPServerSplunkAuthorizationConfigProperty.builder()
.bearerToken(BearerTokenDetailsProperty.builder()
.authorizationHeader("authorizationHeader")
.tokenName("tokenName")
.tokenValue("tokenValue")
.build())
.build())
.description("description")
.endpoint("endpoint")
.name("name")
.build())
.pagerDuty(PagerDutyDetailsProperty.builder()
.authorizationConfig(PagerDutyAuthorizationConfigProperty.builder()
.oAuthClientCredentials(OAuthClientDetailsProperty.builder()
.clientId("clientId")
.clientName("clientName")
.clientSecret("clientSecret")
.exchangeParameters(exchangeParameters)
.build())
.build())
.scopes(List.of("scopes"))
.build())
.serviceNow(ServiceNowServiceDetailsProperty.builder()
.authorizationConfig(ServiceNowAuthorizationConfigProperty.builder()
.oAuthClientCredentials(OAuthClientDetailsProperty.builder()
.clientId("clientId")
.clientName("clientName")
.clientSecret("clientSecret")
.exchangeParameters(exchangeParameters)
.build())
.build())
.instanceUrl("instanceUrl")
.build())
.build())
.serviceType("serviceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetUrlPrivateConnectionName("targetUrlPrivateConnectionName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceMixinPropsstatic final classAn implementation forCfnServiceMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnServiceMixinProps.Builderbuilder()default StringThe name of the private connection to use for OAuth token exchange requests only.default StringThe ARN of the KMS key to use for encryption.default StringThe name of the private connection to use for VPC connectivity.default ObjectService-specific configuration details - MCPServerSigV4 supports in-place updates;default StringThe type of service being registered.getTags()An array of key-value pairs to apply to this resource.default StringThe name of the private connection to use for API calls (target URL) only.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExchangeUrlPrivateConnectionName
The name of the private connection to use for OAuth token exchange requests only.Cannot be specified when PrivateConnectionName is provided.
- See Also:
-
getKmsKeyArn
The ARN of the KMS key to use for encryption.- See Also:
-
getPrivateConnectionName
The name of the private connection to use for VPC connectivity.- See Also:
-
getServiceDetails
Service-specific configuration details - MCPServerSigV4 supports in-place updates;GitLab (TokenValue), MCPServer (ApiKey or BearerToken credential rotation), MCPServerNewRelic (ApiKey rotation), and MCPServerGrafana (BearerToken rotation) support in-place credential rotation; all other service types and fields require replacement when modified
Returns union: either
IResolvableorCfnServicePropsMixin.ServiceDetailsProperty- See Also:
-
getServiceType
The type of service being registered.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
getTargetUrlPrivateConnectionName
The name of the private connection to use for API calls (target URL) only.Cannot be specified when PrivateConnectionName is provided.
- See Also:
-
builder
- Returns:
- a
CfnServiceMixinProps.BuilderofCfnServiceMixinProps
-