ServiceDetailsProperty Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from 'aws-cdk-lib';
declare const exchangeParameters: any;
const serviceDetailsProperty: devopsagent.CfnService.ServiceDetailsProperty = {
azureIdentity: {
clientId: 'clientId',
tenantId: 'tenantId',
webIdentityRoleArn: 'webIdentityRoleArn',
webIdentityTokenAudiences: ['webIdentityTokenAudiences'],
},
dynatrace: {
accountUrn: 'accountUrn',
// the properties below are optional
authorizationConfig: {
oAuthClientCredentials: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
clientName: 'clientName',
exchangeParameters: exchangeParameters,
},
},
},
gitHub: {
appVerification: {
appVariant: 'appVariant',
tokenValue: 'tokenValue',
// the properties below are optional
organizationName: 'organizationName',
targetUrl: 'targetUrl',
},
directAccess: {
tokenValue: 'tokenValue',
// the properties below are optional
organizationName: 'organizationName',
targetUrl: 'targetUrl',
},
},
gitLab: {
targetUrl: 'targetUrl',
tokenType: 'tokenType',
tokenValue: 'tokenValue',
// the properties below are optional
groupId: 'groupId',
},
mcpServer: {
authorizationConfig: {
apiKey: {
apiKeyHeader: 'apiKeyHeader',
apiKeyName: 'apiKeyName',
apiKeyValue: 'apiKeyValue',
},
bearerToken: {
tokenName: 'tokenName',
tokenValue: 'tokenValue',
// the properties below are optional
authorizationHeader: 'authorizationHeader',
},
oAuthClientCredentials: {
clientId: 'clientId',
clientSecret: 'clientSecret',
exchangeUrl: 'exchangeUrl',
// the properties below are optional
clientName: 'clientName',
exchangeParameters: exchangeParameters,
scopes: ['scopes'],
},
},
endpoint: 'endpoint',
name: 'name',
// the properties below are optional
description: 'description',
},
mcpServerGrafana: {
authorizationConfig: {
bearerToken: {
tokenName: 'tokenName',
tokenValue: 'tokenValue',
// the properties below are optional
authorizationHeader: 'authorizationHeader',
},
},
endpoint: 'endpoint',
name: 'name',
// the properties below are optional
description: 'description',
},
mcpServerNewRelic: {
authorizationConfig: {
apiKey: {
accountId: 'accountId',
apiKey: 'apiKey',
region: 'region',
// the properties below are optional
alertPolicyIds: ['alertPolicyIds'],
applicationIds: ['applicationIds'],
entityGuids: ['entityGuids'],
},
},
},
mcpServerSigV4: {
authorizationConfig: {
region: 'region',
service: 'service',
// the properties below are optional
customHeaders: {
customHeadersKey: 'customHeaders',
},
mcpRoleArn: 'mcpRoleArn',
roleArn: 'roleArn',
},
endpoint: 'endpoint',
name: 'name',
// the properties below are optional
description: 'description',
},
mcpServerSplunk: {
authorizationConfig: {
bearerToken: {
tokenName: 'tokenName',
tokenValue: 'tokenValue',
// the properties below are optional
authorizationHeader: 'authorizationHeader',
},
},
endpoint: 'endpoint',
name: 'name',
// the properties below are optional
description: 'description',
},
pagerDuty: {
authorizationConfig: {
oAuthClientCredentials: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
clientName: 'clientName',
exchangeParameters: exchangeParameters,
},
},
scopes: ['scopes'],
},
serviceNow: {
instanceUrl: 'instanceUrl',
// the properties below are optional
authorizationConfig: {
oAuthClientCredentials: {
clientId: 'clientId',
clientSecret: 'clientSecret',
// the properties below are optional
clientName: 'clientName',
exchangeParameters: exchangeParameters,
},
},
},
};
Properties
azureIdentityoptionalIResolvable | CfnService.AzureIdentityServiceDetailsPropertyazure_identityoptionaltyping.Union[IResolvable, AzureIdentityServiceDetailsProperty]azureIdentityoptionalIResolvableAzureIdentityoptionalIResolvableAzureIdentityoptionalinterface{}#Azure Identity service configuration for federated identity.
dynatraceoptionalIResolvable | CfnService.DynatraceServiceDetailsPropertydynatraceoptionaltyping.Union[IResolvable, DynatraceServiceDetailsProperty]dynatraceoptionalIResolvableDynatraceoptionalIResolvableDynatraceoptionalinterface{}#Dynatrace service configuration.
gitHuboptionalIResolvable | CfnService.GitHubDetailsPropertygit_huboptionaltyping.Union[IResolvable, GitHubDetailsProperty]gitHuboptionalIResolvableGitHuboptionalIResolvableGitHuboptionalinterface{}#GitHub personal access token (PAT) service configuration.
Exactly one of AppVerification or DirectAccess selects how the token is used
gitLaboptionalIResolvable | CfnService.GitLabDetailsPropertygit_laboptionaltyping.Union[IResolvable, GitLabDetailsProperty]gitLaboptionalIResolvableGitLaboptionalIResolvableGitLaboptionalinterface{}#GitLab service configuration.
mcpServeroptionalIResolvable | CfnService.MCPServerDetailsPropertymcp_serveroptionaltyping.Union[IResolvable, MCPServerDetailsProperty]mcpServeroptionalIResolvableMcpServeroptionalIResolvableMcpServeroptionalinterface{}#MCP server configuration.
mcpServerGrafanaoptionalIResolvable | CfnService.MCPServerGrafanaDetailsPropertymcp_server_grafanaoptionaltyping.Union[IResolvable, MCPServerGrafanaDetailsProperty]mcpServerGrafanaoptionalIResolvableMcpServerGrafanaoptionalIResolvableMcpServerGrafanaoptionalinterface{}#Grafana MCP server configuration.
mcpServerNewRelicoptionalIResolvable | CfnService.NewRelicServiceDetailsPropertymcp_server_new_relicoptionaltyping.Union[IResolvable, NewRelicServiceDetailsProperty]mcpServerNewRelicoptionalIResolvableMcpServerNewRelicoptionalIResolvableMcpServerNewRelicoptionalinterface{}#New Relic service configuration.
mcpServerSigV4optionalIResolvable | CfnService.MCPServerSigV4DetailsPropertymcp_server_sig_v4optionaltyping.Union[IResolvable, MCPServerSigV4DetailsProperty]mcpServerSigV4optionalIResolvableMcpServerSigV4optionalIResolvableMcpServerSigV4optionalinterface{}#SigV4-authenticated MCP server configuration.
mcpServerSplunkoptionalIResolvable | CfnService.MCPServerSplunkDetailsPropertymcp_server_splunkoptionaltyping.Union[IResolvable, MCPServerSplunkDetailsProperty]mcpServerSplunkoptionalIResolvableMcpServerSplunkoptionalIResolvableMcpServerSplunkoptionalinterface{}#Splunk MCP server configuration.
pagerDutyoptionalIResolvable | CfnService.PagerDutyDetailsPropertypager_dutyoptionaltyping.Union[IResolvable, PagerDutyDetailsProperty]pagerDutyoptionalIResolvablePagerDutyoptionalIResolvablePagerDutyoptionalinterface{}#PagerDuty service configuration.
serviceNowoptionalIResolvable | CfnService.ServiceNowServiceDetailsPropertyservice_nowoptionaltyping.Union[IResolvable, ServiceNowServiceDetailsProperty]serviceNowoptionalIResolvableServiceNowoptionalIResolvableServiceNowoptionalinterface{}#ServiceNow service configuration.