java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnServicePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:58.067Z") @Stability(Stable) public class CfnServicePropsMixin extends Mixin implements software.constructs.IMixin
The AWS::DevOpsAgent::Service resource registers external services (like Dynatrace, MCP servers, GitLab) for integration with DevOpsAgent.

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.*;
 import software.amazon.awscdk.*;
 Object exchangeParameters;
 IMergeStrategy mergeStrategy;
 CfnServicePropsMixin cfnServicePropsMixin = CfnServicePropsMixin.Builder.create(CfnServiceMixinProps.builder()
         .serviceDetails(ServiceDetailsProperty.builder()
                 .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())
                                 .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())
                 .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())
                 .mcpServerSplunk(MCPServerSplunkDetailsProperty.builder()
                         .authorizationConfig(MCPServerSplunkAuthorizationConfigProperty.builder()
                                 .bearerToken(BearerTokenDetailsProperty.builder()
                                         .authorizationHeader("authorizationHeader")
                                         .tokenName("tokenName")
                                         .tokenValue("tokenValue")
                                         .build())
                                 .build())
                         .description("description")
                         .endpoint("endpoint")
                         .name("name")
                         .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")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnServicePropsMixin

      protected CfnServicePropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnServicePropsMixin

      protected CfnServicePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnServicePropsMixin

      @Stability(Stable) public CfnServicePropsMixin(@NotNull CfnServiceMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::DevOpsAgent::Service.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnServicePropsMixin

      @Stability(Stable) public CfnServicePropsMixin(@NotNull CfnServiceMixinProps props)
      Create a mixin to apply properties to AWS::DevOpsAgent::Service.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnServiceMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()