[ aws . devops-agent ]

register-service

Description

This operation registers the specified service

See also: AWS API Documentation

Synopsis

  register-service
--service <value>
--service-details <value>
[--kms-key-arn <value>]
[--private-connection-name <value>]
[--name <value>]
[--tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]

Options

--service (string) [required]

Services that can be registered via the post-registration API (excludes OAuth 3LO services).

Possible values:

  • dynatrace
  • servicenow
  • pagerduty
  • gitlab
  • eventChannel
  • mcpservernewrelic
  • mcpservergrafana
  • mcpserverdatadog
  • mcpserver
  • mcpserversplunk
  • azureidentity

--service-details (tagged union structure) [required]

Service-specific authorization configuration parameters

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: dynatrace, servicenow, mcpserverdatadog, mcpserver, gitlab, mcpserversplunk, mcpservernewrelic, eventChannel, mcpservergrafana, pagerduty, azureidentity.

dynatrace -> (structure)

Dynatrace-specific service details.

accountUrn -> (string) [required]

Dynatrace resource account urn.

Constraints:

  • min: 1
  • max: 255
  • pattern: urn:dtaccount:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

authorizationConfig -> (tagged union structure)

Dynatrace OAuth client credentials configuration. Use this when registering with OAuth client credentials flow.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oAuthClientCredentials.

oAuthClientCredentials -> (structure)

OAuth client credentials configuration.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

clientSecret -> (string) [required]

OAuth client secret for authenticating with the service.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

servicenow -> (structure)

ServiceNow-specific service details.

instanceUrl -> (string) [required]

ServiceNow instance URL.

Constraints:

  • min: 1
  • max: 255
  • pattern: https://[a-zA-Z0-9]([a-zA-Z0-9.-]*[a-zA-Z0-9])\.service-now\.com/?

authorizationConfig -> (tagged union structure)

ServiceNow OAuth client credentials configuration. Use this when registering with OAuth client credentials flow.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oAuthClientCredentials.

oAuthClientCredentials -> (structure)

OAuth client credentials configuration.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

clientSecret -> (string) [required]

OAuth client secret for authenticating with the service.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

mcpserverdatadog -> (structure)

Datadog MCP server-specific service details.

name -> (string) [required]

MCP server name.

Constraints:

  • pattern: [a-zA-Z0-9_-]+

endpoint -> (string) [required]

MCP server endpoint URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

description -> (string)

Optional description for the MCP server.

Constraints:

  • min: 0
  • max: 500
  • pattern: [\p{L}\p{N}\p{P}\p{S}\p{Z}]+

authorizationConfig -> (tagged union structure) [required]

Datadog MCP server authorization configuration (only authorization discovery is supported).

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: authorizationDiscovery.

authorizationDiscovery -> (structure)

Datadog MCP server authorization discovery configuration.

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

mcpserver -> (structure)

MCP server-specific service details.

name -> (string) [required]

MCP server name.

Constraints:

  • pattern: [a-zA-Z0-9_-]+

endpoint -> (string) [required]

MCP server endpoint URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

description -> (string)

Optional description for the MCP server.

Constraints:

  • min: 0
  • max: 500
  • pattern: [\p{L}\p{N}\p{P}\p{S}\p{Z}]+

authorizationConfig -> (tagged union structure) [required]

MCP server authorization configuration.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oAuthClientCredentials, oAuth3LO, apiKey, bearerToken, authorizationDiscovery.

oAuthClientCredentials -> (structure)

MCP server configuration with OAuth client credentials.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

clientSecret -> (string) [required]

OAuth client secret for authenticating with the service.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

exchangeUrl -> (string) [required]

OAuth token exchange URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

scopes -> (list)

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

(string)

oAuth3LO -> (structure)

MCP server configuration with OAuth 3LO.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

authorizationUrl -> (string) [required]

OAuth authorization URL for 3LO authentication.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

exchangeUrl -> (string) [required]

OAuth token exchange URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

clientSecret -> (string)

OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

supportCodeChallenge -> (boolean)

Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.

scopes -> (list)

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

(string)

apiKey -> (structure)

MCP server configuration with API key authentication.

apiKeyName -> (string) [required]

User friendly API key name specified by end user.

Constraints:

  • pattern: [a-zA-Z0-9_\s-]+

apiKeyValue -> (string) [required]

API key value for authenticating with the service.

Constraints:

  • min: 1
  • pattern: [a-zA-Z0-9+/=._-]+(\s[a-zA-Z0-9+/=._-]+)?

apiKeyHeader -> (string) [required]

HTTP header name to send the API key in requests to the service.

Constraints:

  • pattern: [a-zA-Z0-9-_]+

bearerToken -> (structure)

MCP server configuration with Bearer token (RFC 6750).

tokenName -> (string) [required]

User friendly bearer token name specified by end user.

Constraints:

  • pattern: [a-zA-Z0-9_\s-]+

tokenValue -> (string) [required]

Bearer token value in alphanumeric for authenticating with the service.

Constraints:

  • pattern: [\S]+

authorizationHeader -> (string)

HTTP header name to send the bearer token in requests to the service. Defaults to ‘Authorization’ per RFC 6750.

Constraints:

  • pattern: [a-zA-Z0-9-]+

authorizationDiscovery -> (structure)

MCP server authorization discovery configuration.

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

gitlab -> (structure)

GitLab-specific service details.

targetUrl -> (string) [required]

GitLab instance URL (e.g., https://gitlab.com or self-hosted instance).

Constraints:

  • pattern: https://[a-zA-Z0-9]([a-zA-Z0-9.-]*[a-zA-Z0-9])?(?::[0-9]{1,5})?/?

tokenType -> (string) [required]

Type of GitLab access token

Possible values:

  • personal
  • group

tokenValue -> (string) [required]

GitLab access token value

Constraints:

  • pattern: [a-zA-Z0-9._-]+

groupId -> (string)

Optional GitLab group ID for group-level access tokens

mcpserversplunk -> (structure)

Splunk MCP server-specific service details.

name -> (string) [required]

MCP server name.

Constraints:

  • pattern: [a-zA-Z0-9_-]+

endpoint -> (string) [required]

MCP server endpoint URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

description -> (string)

Optional description for the MCP server.

Constraints:

  • min: 0
  • max: 500
  • pattern: [\p{L}\p{N}\p{P}\p{S}\p{Z}]+

authorizationConfig -> (tagged union structure) [required]

MCP server authorization configuration.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oAuthClientCredentials, oAuth3LO, apiKey, bearerToken, authorizationDiscovery.

oAuthClientCredentials -> (structure)

MCP server configuration with OAuth client credentials.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

clientSecret -> (string) [required]

OAuth client secret for authenticating with the service.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

exchangeUrl -> (string) [required]

OAuth token exchange URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

scopes -> (list)

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

(string)

oAuth3LO -> (structure)

MCP server configuration with OAuth 3LO.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

authorizationUrl -> (string) [required]

OAuth authorization URL for 3LO authentication.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

exchangeUrl -> (string) [required]

OAuth token exchange URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

clientSecret -> (string)

OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

supportCodeChallenge -> (boolean)

Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.

scopes -> (list)

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

(string)

apiKey -> (structure)

MCP server configuration with API key authentication.

apiKeyName -> (string) [required]

User friendly API key name specified by end user.

Constraints:

  • pattern: [a-zA-Z0-9_\s-]+

apiKeyValue -> (string) [required]

API key value for authenticating with the service.

Constraints:

  • min: 1
  • pattern: [a-zA-Z0-9+/=._-]+(\s[a-zA-Z0-9+/=._-]+)?

apiKeyHeader -> (string) [required]

HTTP header name to send the API key in requests to the service.

Constraints:

  • pattern: [a-zA-Z0-9-_]+

bearerToken -> (structure)

MCP server configuration with Bearer token (RFC 6750).

tokenName -> (string) [required]

User friendly bearer token name specified by end user.

Constraints:

  • pattern: [a-zA-Z0-9_\s-]+

tokenValue -> (string) [required]

Bearer token value in alphanumeric for authenticating with the service.

Constraints:

  • pattern: [\S]+

authorizationHeader -> (string)

HTTP header name to send the bearer token in requests to the service. Defaults to ‘Authorization’ per RFC 6750.

Constraints:

  • pattern: [a-zA-Z0-9-]+

authorizationDiscovery -> (structure)

MCP server authorization discovery configuration.

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

mcpservernewrelic -> (structure)

New Relic-specific service details.

authorizationConfig -> (tagged union structure) [required]

New Relic MCP server authorization configuration.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: apiKey.

apiKey -> (structure)

New Relic API Key authentication (apiKey, accountId, region).

apiKey -> (string) [required]

New Relic User API Key

Constraints:

  • min: 1
  • pattern: NRAK-[A-Z0-9]+

accountId -> (string) [required]

New Relic Account ID

Constraints:

  • pattern: [0-9]+

region -> (string) [required]

New Relic region (US or EU)

Possible values:

  • US
  • EU

applicationIds -> (list)

List of monitored APM application IDs in New Relic

(string)

Constraints:

  • pattern: [0-9]+

entityGuids -> (list)

List of globally unique IDs for New Relic resources (apps, hosts, services)

(string)

Constraints:

  • pattern: [a-zA-Z0-9_.-]+

alertPolicyIds -> (list)

List of alert policy IDs grouping related conditions

(string)

Constraints:

  • pattern: [0-9]+

eventChannel -> (structure)

Event Channel specific service details.

type -> (string)

The type of event channel

Possible values:

  • webhook

mcpservergrafana -> (structure)

Datadog MCP server-specific service details.

name -> (string) [required]

MCP server name.

Constraints:

  • pattern: [a-zA-Z0-9_-]+

endpoint -> (string) [required]

MCP server endpoint URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

description -> (string)

Optional description for the MCP server.

Constraints:

  • min: 0
  • max: 500
  • pattern: [\p{L}\p{N}\p{P}\p{S}\p{Z}]+

authorizationConfig -> (tagged union structure) [required]

Grafana MCP server authorization configuration (experimental).

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oAuthClientCredentials, oAuth3LO, apiKey, bearerToken, authorizationDiscovery.

oAuthClientCredentials -> (structure)

MCP server configuration with OAuth client credentials.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

clientSecret -> (string) [required]

OAuth client secret for authenticating with the service.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

exchangeUrl -> (string) [required]

OAuth token exchange URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

scopes -> (list)

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

(string)

oAuth3LO -> (structure)

MCP server configuration with OAuth 3LO.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

authorizationUrl -> (string) [required]

OAuth authorization URL for 3LO authentication.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

exchangeUrl -> (string) [required]

OAuth token exchange URL.

Constraints:

  • pattern: https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?

clientSecret -> (string)

OAuth client secret for authenticating with the service. Required for confidential clients or when PKCE is not supported. Optional for public clients using PKCE.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

supportCodeChallenge -> (boolean)

Whether the service supports PKCE (Proof Key for Code Exchange) for enhanced security during the OAuth flow.

scopes -> (list)

OAuth scopes for 3LO authentication. The service will always request scope offline_access.

(string)

apiKey -> (structure)

MCP server configuration with API key authentication.

apiKeyName -> (string) [required]

User friendly API key name specified by end user.

Constraints:

  • pattern: [a-zA-Z0-9_\s-]+

apiKeyValue -> (string) [required]

API key value for authenticating with the service.

Constraints:

  • min: 1
  • pattern: [a-zA-Z0-9+/=._-]+(\s[a-zA-Z0-9+/=._-]+)?

apiKeyHeader -> (string) [required]

HTTP header name to send the API key in requests to the service.

Constraints:

  • pattern: [a-zA-Z0-9-_]+

bearerToken -> (structure)

MCP server configuration with Bearer token (RFC 6750).

tokenName -> (string) [required]

User friendly bearer token name specified by end user.

Constraints:

  • pattern: [a-zA-Z0-9_\s-]+

tokenValue -> (string) [required]

Bearer token value in alphanumeric for authenticating with the service.

Constraints:

  • pattern: [\S]+

authorizationHeader -> (string)

HTTP header name to send the bearer token in requests to the service. Defaults to ‘Authorization’ per RFC 6750.

Constraints:

  • pattern: [a-zA-Z0-9-]+

authorizationDiscovery -> (structure)

MCP server authorization discovery configuration.

returnToEndpoint -> (string) [required]

The endpoint to return to after OAuth flow completes (must be AWS console domain)

Constraints:

  • pattern: https://[a-zA-Z0-9.-]*\.(console\.(aws|aws-dev)|awsc-(integ|preprod)\.aws)\.amazon\.com(/.*)?

pagerduty -> (structure)

PagerDuty specific service details.

scopes -> (list) [required]

PagerDuty scopes.

(string)

authorizationConfig -> (tagged union structure) [required]

PagerDuty authorization configuration

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oAuthClientCredentials.

oAuthClientCredentials -> (structure)

OAuth client credentials configuration.

clientName -> (string)

User friendly OAuth client name specified by end user.

Constraints:

  • min: 1
  • max: 100
  • pattern: [\p{L}\p{N}\p{Z}._-]+

clientId -> (string) [required]

OAuth client ID for authenticating with the service.

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9._-]+

exchangeParameters -> (map)

OAuth token exchange parameters for authenticating with the service.

key -> (string)

value -> (string)

Exchange Parameter value for MCP authentication

clientSecret -> (string) [required]

OAuth client secret for authenticating with the service.

Constraints:

  • min: 1
  • max: 512
  • pattern: [\S]+

azureidentity -> (structure)

Azure integration with AWS Outbound Identity Federation specific service details.

tenantId -> (string) [required]

The Azure Active Directory tenant ID for the identity.

Constraints:

  • min: 0
  • max: 36
  • pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}

clientId -> (string) [required]

The client ID of the service principal or managed identity used for authentication.

Constraints:

  • min: 0
  • max: 36
  • pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}

webIdentityRoleArn -> (string) [required]

The role ARN to be assumed by DevOps Agent for requesting Web Identity Token.

Constraints:

  • min: 1
  • max: 255
  • pattern: arn:aws:iam::\d{12}:role/[a-zA-Z0-9+=,.@_/-]+

webIdentityTokenAudiences -> (list) [required]

The audiences for the Web Identity Token.

(string)

JSON Syntax:

{
  "dynatrace": {
    "accountUrn": "string",
    "authorizationConfig": {
      "oAuthClientCredentials": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "clientSecret": "string"
      }
    }
  },
  "servicenow": {
    "instanceUrl": "string",
    "authorizationConfig": {
      "oAuthClientCredentials": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "clientSecret": "string"
      }
    }
  },
  "mcpserverdatadog": {
    "name": "string",
    "endpoint": "string",
    "description": "string",
    "authorizationConfig": {
      "authorizationDiscovery": {
        "returnToEndpoint": "string"
      }
    }
  },
  "mcpserver": {
    "name": "string",
    "endpoint": "string",
    "description": "string",
    "authorizationConfig": {
      "oAuthClientCredentials": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "clientSecret": "string",
        "exchangeUrl": "string",
        "scopes": ["string", ...]
      },
      "oAuth3LO": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "returnToEndpoint": "string",
        "authorizationUrl": "string",
        "exchangeUrl": "string",
        "clientSecret": "string",
        "supportCodeChallenge": true|false,
        "scopes": ["string", ...]
      },
      "apiKey": {
        "apiKeyName": "string",
        "apiKeyValue": "string",
        "apiKeyHeader": "string"
      },
      "bearerToken": {
        "tokenName": "string",
        "tokenValue": "string",
        "authorizationHeader": "string"
      },
      "authorizationDiscovery": {
        "returnToEndpoint": "string"
      }
    }
  },
  "gitlab": {
    "targetUrl": "string",
    "tokenType": "personal"|"group",
    "tokenValue": "string",
    "groupId": "string"
  },
  "mcpserversplunk": {
    "name": "string",
    "endpoint": "string",
    "description": "string",
    "authorizationConfig": {
      "oAuthClientCredentials": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "clientSecret": "string",
        "exchangeUrl": "string",
        "scopes": ["string", ...]
      },
      "oAuth3LO": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "returnToEndpoint": "string",
        "authorizationUrl": "string",
        "exchangeUrl": "string",
        "clientSecret": "string",
        "supportCodeChallenge": true|false,
        "scopes": ["string", ...]
      },
      "apiKey": {
        "apiKeyName": "string",
        "apiKeyValue": "string",
        "apiKeyHeader": "string"
      },
      "bearerToken": {
        "tokenName": "string",
        "tokenValue": "string",
        "authorizationHeader": "string"
      },
      "authorizationDiscovery": {
        "returnToEndpoint": "string"
      }
    }
  },
  "mcpservernewrelic": {
    "authorizationConfig": {
      "apiKey": {
        "apiKey": "string",
        "accountId": "string",
        "region": "US"|"EU",
        "applicationIds": ["string", ...],
        "entityGuids": ["string", ...],
        "alertPolicyIds": ["string", ...]
      }
    }
  },
  "eventChannel": {
    "type": "webhook"
  },
  "mcpservergrafana": {
    "name": "string",
    "endpoint": "string",
    "description": "string",
    "authorizationConfig": {
      "oAuthClientCredentials": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "clientSecret": "string",
        "exchangeUrl": "string",
        "scopes": ["string", ...]
      },
      "oAuth3LO": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "returnToEndpoint": "string",
        "authorizationUrl": "string",
        "exchangeUrl": "string",
        "clientSecret": "string",
        "supportCodeChallenge": true|false,
        "scopes": ["string", ...]
      },
      "apiKey": {
        "apiKeyName": "string",
        "apiKeyValue": "string",
        "apiKeyHeader": "string"
      },
      "bearerToken": {
        "tokenName": "string",
        "tokenValue": "string",
        "authorizationHeader": "string"
      },
      "authorizationDiscovery": {
        "returnToEndpoint": "string"
      }
    }
  },
  "pagerduty": {
    "scopes": ["string", ...],
    "authorizationConfig": {
      "oAuthClientCredentials": {
        "clientName": "string",
        "clientId": "string",
        "exchangeParameters": {"string": "string"
          ...},
        "clientSecret": "string"
      }
    }
  },
  "azureidentity": {
    "tenantId": "string",
    "clientId": "string",
    "webIdentityRoleArn": "string",
    "webIdentityTokenAudiences": ["string", ...]
  }
}

--kms-key-arn (string)

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that’s used to encrypt resources.

Constraints:

  • min: 20
  • pattern: arn:aws[a-zA-Z-]*:kms:[a-z0-9-]+:[0-9]{12}:key/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

--private-connection-name (string)

The name of the private connection to use for VPC connectivity.

Constraints:

  • min: 3
  • max: 30
  • pattern: [a-z0-9]([a-z0-9-]*[a-z0-9])?

--name (string)

The display name for the service registration.

Constraints:

  • min: 1
  • max: 255
  • pattern: [\p{L}\p{N}\p{P}\p{S}\p{Z}]+

--tags (map)

Tags to add to the Service at registration time.

key -> (string)

Tag key string.

Constraints:

  • min: 1
  • max: 128
  • pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*

value -> (string)

Tag value string.

Constraints:

  • min: 0
  • max: 256
  • pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command’s default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table
  • yaml
  • yaml-stream
  • off

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

--cli-binary-format (string)

The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.

  • base64
  • raw-in-base64-out

--no-cli-pager (boolean)

Disable cli pager for output.

--cli-auto-prompt (boolean)

Automatically prompt for CLI input parameters.

--no-cli-auto-prompt (boolean)

Disable automatically prompt for CLI input parameters.

--cli-error-format (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

Output

serviceId -> (string)

Service ID - present when registration is complete, absent when additional steps are required

Constraints:

  • min: 1
  • max: 255
  • pattern: [a-zA-Z0-9_-]+

additionalStep -> (tagged union structure)

Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: oauth.

oauth -> (structure)

OAuth authorization step required.

authorizationUrl -> (string) [required]

The URL to redirect the user to for OAuth authorization.

kmsKeyArn -> (string)

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that’s used to encrypt resources.

Constraints:

  • min: 20
  • pattern: arn:aws[a-zA-Z-]*:kms:[a-z0-9-]+:[0-9]{12}:key/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

tags -> (map)

Tags associated with the registered Service.

key -> (string)

Tag key string.

Constraints:

  • min: 1
  • max: 128
  • pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*

value -> (string)

Tag value string.

Constraints:

  • min: 0
  • max: 256
  • pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*