CfnServiceProps Struct
Properties for defining a CfnService.
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 cfnServiceProps: devopsagent.CfnServiceProps = {
serviceType: 'serviceType',
// the properties below are optional
exchangeUrlPrivateConnectionName: 'exchangeUrlPrivateConnectionName',
kmsKeyArn: 'kmsKeyArn',
name: 'name',
privateConnectionName: 'privateConnectionName',
serviceDetails: {
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,
},
},
},
},
tags: [{
key: 'key',
value: 'value',
}],
targetUrlPrivateConnectionName: 'targetUrlPrivateConnectionName',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsagent as devopsagent
# exchange_parameters: Any
cfn_service_props = devopsagent.CfnServiceProps(
service_type="serviceType",
# the properties below are optional
exchange_url_private_connection_name="exchangeUrlPrivateConnectionName",
kms_key_arn="kmsKeyArn",
name="name",
private_connection_name="privateConnectionName",
service_details=devopsagent.CfnService.ServiceDetailsProperty(
azure_identity=devopsagent.CfnService.AzureIdentityServiceDetailsProperty(
client_id="clientId",
tenant_id="tenantId",
web_identity_role_arn="webIdentityRoleArn",
web_identity_token_audiences=["webIdentityTokenAudiences"]
),
dynatrace=devopsagent.CfnService.DynatraceServiceDetailsProperty(
account_urn="accountUrn",
# the properties below are optional
authorization_config=devopsagent.CfnService.DynatraceAuthorizationConfigProperty(
o_auth_client_credentials=devopsagent.CfnService.OAuthClientDetailsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
client_name="clientName",
exchange_parameters=exchange_parameters
)
)
),
git_hub=devopsagent.CfnService.GitHubDetailsProperty(
app_verification=devopsagent.CfnService.GitHubAppVerificationDetailsProperty(
app_variant="appVariant",
token_value="tokenValue",
# the properties below are optional
organization_name="organizationName",
target_url="targetUrl"
),
direct_access=devopsagent.CfnService.GitHubPatDetailsProperty(
token_value="tokenValue",
# the properties below are optional
organization_name="organizationName",
target_url="targetUrl"
)
),
git_lab=devopsagent.CfnService.GitLabDetailsProperty(
target_url="targetUrl",
token_type="tokenType",
token_value="tokenValue",
# the properties below are optional
group_id="groupId"
),
mcp_server=devopsagent.CfnService.MCPServerDetailsProperty(
authorization_config=devopsagent.CfnService.MCPServerAuthorizationConfigProperty(
api_key=devopsagent.CfnService.ApiKeyDetailsProperty(
api_key_header="apiKeyHeader",
api_key_name="apiKeyName",
api_key_value="apiKeyValue"
),
bearer_token=devopsagent.CfnService.BearerTokenDetailsProperty(
token_name="tokenName",
token_value="tokenValue",
# the properties below are optional
authorization_header="authorizationHeader"
),
o_auth_client_credentials=devopsagent.CfnService.MCPServerOAuthClientCredentialsConfigProperty(
client_id="clientId",
client_secret="clientSecret",
exchange_url="exchangeUrl",
# the properties below are optional
client_name="clientName",
exchange_parameters=exchange_parameters,
scopes=["scopes"]
)
),
endpoint="endpoint",
name="name",
# the properties below are optional
description="description"
),
mcp_server_grafana=devopsagent.CfnService.MCPServerGrafanaDetailsProperty(
authorization_config=devopsagent.CfnService.MCPServerGrafanaAuthorizationConfigProperty(
bearer_token=devopsagent.CfnService.BearerTokenDetailsProperty(
token_name="tokenName",
token_value="tokenValue",
# the properties below are optional
authorization_header="authorizationHeader"
)
),
endpoint="endpoint",
name="name",
# the properties below are optional
description="description"
),
mcp_server_new_relic=devopsagent.CfnService.NewRelicServiceDetailsProperty(
authorization_config=devopsagent.CfnService.NewRelicAuthorizationConfigProperty(
api_key=devopsagent.CfnService.NewRelicApiKeyConfigProperty(
account_id="accountId",
api_key="apiKey",
region="region",
# the properties below are optional
alert_policy_ids=["alertPolicyIds"],
application_ids=["applicationIds"],
entity_guids=["entityGuids"]
)
)
),
mcp_server_sig_v4=devopsagent.CfnService.MCPServerSigV4DetailsProperty(
authorization_config=devopsagent.CfnService.MCPServerSigV4AuthorizationConfigProperty(
region="region",
service="service",
# the properties below are optional
custom_headers={
"custom_headers_key": "customHeaders"
},
mcp_role_arn="mcpRoleArn",
role_arn="roleArn"
),
endpoint="endpoint",
name="name",
# the properties below are optional
description="description"
),
mcp_server_splunk=devopsagent.CfnService.MCPServerSplunkDetailsProperty(
authorization_config=devopsagent.CfnService.MCPServerSplunkAuthorizationConfigProperty(
bearer_token=devopsagent.CfnService.BearerTokenDetailsProperty(
token_name="tokenName",
token_value="tokenValue",
# the properties below are optional
authorization_header="authorizationHeader"
)
),
endpoint="endpoint",
name="name",
# the properties below are optional
description="description"
),
pager_duty=devopsagent.CfnService.PagerDutyDetailsProperty(
authorization_config=devopsagent.CfnService.PagerDutyAuthorizationConfigProperty(
o_auth_client_credentials=devopsagent.CfnService.OAuthClientDetailsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
client_name="clientName",
exchange_parameters=exchange_parameters
)
),
scopes=["scopes"]
),
service_now=devopsagent.CfnService.ServiceNowServiceDetailsProperty(
instance_url="instanceUrl",
# the properties below are optional
authorization_config=devopsagent.CfnService.ServiceNowAuthorizationConfigProperty(
o_auth_client_credentials=devopsagent.CfnService.OAuthClientDetailsProperty(
client_id="clientId",
client_secret="clientSecret",
# the properties below are optional
client_name="clientName",
exchange_parameters=exchange_parameters
)
)
)
),
tags=[CfnTag(
key="key",
value="value"
)],
target_url_private_connection_name="targetUrlPrivateConnectionName"
)
java
// 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;
CfnServiceProps cfnServiceProps = CfnServiceProps.builder()
.serviceType("serviceType")
// the properties below are optional
.exchangeUrlPrivateConnectionName("exchangeUrlPrivateConnectionName")
.kmsKeyArn("kmsKeyArn")
.name("name")
.privateConnectionName("privateConnectionName")
.serviceDetails(ServiceDetailsProperty.builder()
.azureIdentity(AzureIdentityServiceDetailsProperty.builder()
.clientId("clientId")
.tenantId("tenantId")
.webIdentityRoleArn("webIdentityRoleArn")
.webIdentityTokenAudiences(List.of("webIdentityTokenAudiences"))
.build())
.dynatrace(DynatraceServiceDetailsProperty.builder()
.accountUrn("accountUrn")
// the properties below are optional
.authorizationConfig(DynatraceAuthorizationConfigProperty.builder()
.oAuthClientCredentials(OAuthClientDetailsProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.clientName("clientName")
.exchangeParameters(exchangeParameters)
.build())
.build())
.build())
.gitHub(GitHubDetailsProperty.builder()
.appVerification(GitHubAppVerificationDetailsProperty.builder()
.appVariant("appVariant")
.tokenValue("tokenValue")
// the properties below are optional
.organizationName("organizationName")
.targetUrl("targetUrl")
.build())
.directAccess(GitHubPatDetailsProperty.builder()
.tokenValue("tokenValue")
// the properties below are optional
.organizationName("organizationName")
.targetUrl("targetUrl")
.build())
.build())
.gitLab(GitLabDetailsProperty.builder()
.targetUrl("targetUrl")
.tokenType("tokenType")
.tokenValue("tokenValue")
// the properties below are optional
.groupId("groupId")
.build())
.mcpServer(MCPServerDetailsProperty.builder()
.authorizationConfig(MCPServerAuthorizationConfigProperty.builder()
.apiKey(ApiKeyDetailsProperty.builder()
.apiKeyHeader("apiKeyHeader")
.apiKeyName("apiKeyName")
.apiKeyValue("apiKeyValue")
.build())
.bearerToken(BearerTokenDetailsProperty.builder()
.tokenName("tokenName")
.tokenValue("tokenValue")
// the properties below are optional
.authorizationHeader("authorizationHeader")
.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())
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.build())
.mcpServerGrafana(MCPServerGrafanaDetailsProperty.builder()
.authorizationConfig(MCPServerGrafanaAuthorizationConfigProperty.builder()
.bearerToken(BearerTokenDetailsProperty.builder()
.tokenName("tokenName")
.tokenValue("tokenValue")
// the properties below are optional
.authorizationHeader("authorizationHeader")
.build())
.build())
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.build())
.mcpServerNewRelic(NewRelicServiceDetailsProperty.builder()
.authorizationConfig(NewRelicAuthorizationConfigProperty.builder()
.apiKey(NewRelicApiKeyConfigProperty.builder()
.accountId("accountId")
.apiKey("apiKey")
.region("region")
// the properties below are optional
.alertPolicyIds(List.of("alertPolicyIds"))
.applicationIds(List.of("applicationIds"))
.entityGuids(List.of("entityGuids"))
.build())
.build())
.build())
.mcpServerSigV4(MCPServerSigV4DetailsProperty.builder()
.authorizationConfig(MCPServerSigV4AuthorizationConfigProperty.builder()
.region("region")
.service("service")
// the properties below are optional
.customHeaders(Map.of(
"customHeadersKey", "customHeaders"))
.mcpRoleArn("mcpRoleArn")
.roleArn("roleArn")
.build())
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.build())
.mcpServerSplunk(MCPServerSplunkDetailsProperty.builder()
.authorizationConfig(MCPServerSplunkAuthorizationConfigProperty.builder()
.bearerToken(BearerTokenDetailsProperty.builder()
.tokenName("tokenName")
.tokenValue("tokenValue")
// the properties below are optional
.authorizationHeader("authorizationHeader")
.build())
.build())
.endpoint("endpoint")
.name("name")
// the properties below are optional
.description("description")
.build())
.pagerDuty(PagerDutyDetailsProperty.builder()
.authorizationConfig(PagerDutyAuthorizationConfigProperty.builder()
.oAuthClientCredentials(OAuthClientDetailsProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.clientName("clientName")
.exchangeParameters(exchangeParameters)
.build())
.build())
.scopes(List.of("scopes"))
.build())
.serviceNow(ServiceNowServiceDetailsProperty.builder()
.instanceUrl("instanceUrl")
// the properties below are optional
.authorizationConfig(ServiceNowAuthorizationConfigProperty.builder()
.oAuthClientCredentials(OAuthClientDetailsProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
// the properties below are optional
.clientName("clientName")
.exchangeParameters(exchangeParameters)
.build())
.build())
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetUrlPrivateConnectionName("targetUrlPrivateConnectionName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsAgent;
var exchangeParameters;
var cfnServiceProps = new CfnServiceProps {
ServiceType = "serviceType",
// the properties below are optional
ExchangeUrlPrivateConnectionName = "exchangeUrlPrivateConnectionName",
KmsKeyArn = "kmsKeyArn",
Name = "name",
PrivateConnectionName = "privateConnectionName",
ServiceDetails = new ServiceDetailsProperty {
AzureIdentity = new AzureIdentityServiceDetailsProperty {
ClientId = "clientId",
TenantId = "tenantId",
WebIdentityRoleArn = "webIdentityRoleArn",
WebIdentityTokenAudiences = new [] { "webIdentityTokenAudiences" }
},
Dynatrace = new DynatraceServiceDetailsProperty {
AccountUrn = "accountUrn",
// the properties below are optional
AuthorizationConfig = new DynatraceAuthorizationConfigProperty {
OAuthClientCredentials = new OAuthClientDetailsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
ClientName = "clientName",
ExchangeParameters = exchangeParameters
}
}
},
GitHub = new GitHubDetailsProperty {
AppVerification = new GitHubAppVerificationDetailsProperty {
AppVariant = "appVariant",
TokenValue = "tokenValue",
// the properties below are optional
OrganizationName = "organizationName",
TargetUrl = "targetUrl"
},
DirectAccess = new GitHubPatDetailsProperty {
TokenValue = "tokenValue",
// the properties below are optional
OrganizationName = "organizationName",
TargetUrl = "targetUrl"
}
},
GitLab = new GitLabDetailsProperty {
TargetUrl = "targetUrl",
TokenType = "tokenType",
TokenValue = "tokenValue",
// the properties below are optional
GroupId = "groupId"
},
McpServer = new MCPServerDetailsProperty {
AuthorizationConfig = new MCPServerAuthorizationConfigProperty {
ApiKey = new ApiKeyDetailsProperty {
ApiKeyHeader = "apiKeyHeader",
ApiKeyName = "apiKeyName",
ApiKeyValue = "apiKeyValue"
},
BearerToken = new BearerTokenDetailsProperty {
TokenName = "tokenName",
TokenValue = "tokenValue",
// the properties below are optional
AuthorizationHeader = "authorizationHeader"
},
OAuthClientCredentials = new MCPServerOAuthClientCredentialsConfigProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
ExchangeUrl = "exchangeUrl",
// the properties below are optional
ClientName = "clientName",
ExchangeParameters = exchangeParameters,
Scopes = new [] { "scopes" }
}
},
Endpoint = "endpoint",
Name = "name",
// the properties below are optional
Description = "description"
},
McpServerGrafana = new MCPServerGrafanaDetailsProperty {
AuthorizationConfig = new MCPServerGrafanaAuthorizationConfigProperty {
BearerToken = new BearerTokenDetailsProperty {
TokenName = "tokenName",
TokenValue = "tokenValue",
// the properties below are optional
AuthorizationHeader = "authorizationHeader"
}
},
Endpoint = "endpoint",
Name = "name",
// the properties below are optional
Description = "description"
},
McpServerNewRelic = new NewRelicServiceDetailsProperty {
AuthorizationConfig = new NewRelicAuthorizationConfigProperty {
ApiKey = new NewRelicApiKeyConfigProperty {
AccountId = "accountId",
ApiKey = "apiKey",
Region = "region",
// the properties below are optional
AlertPolicyIds = new [] { "alertPolicyIds" },
ApplicationIds = new [] { "applicationIds" },
EntityGuids = new [] { "entityGuids" }
}
}
},
McpServerSigV4 = new MCPServerSigV4DetailsProperty {
AuthorizationConfig = new MCPServerSigV4AuthorizationConfigProperty {
Region = "region",
Service = "service",
// the properties below are optional
CustomHeaders = new Dictionary<string, string> {
{ "customHeadersKey", "customHeaders" }
},
McpRoleArn = "mcpRoleArn",
RoleArn = "roleArn"
},
Endpoint = "endpoint",
Name = "name",
// the properties below are optional
Description = "description"
},
McpServerSplunk = new MCPServerSplunkDetailsProperty {
AuthorizationConfig = new MCPServerSplunkAuthorizationConfigProperty {
BearerToken = new BearerTokenDetailsProperty {
TokenName = "tokenName",
TokenValue = "tokenValue",
// the properties below are optional
AuthorizationHeader = "authorizationHeader"
}
},
Endpoint = "endpoint",
Name = "name",
// the properties below are optional
Description = "description"
},
PagerDuty = new PagerDutyDetailsProperty {
AuthorizationConfig = new PagerDutyAuthorizationConfigProperty {
OAuthClientCredentials = new OAuthClientDetailsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
ClientName = "clientName",
ExchangeParameters = exchangeParameters
}
},
Scopes = new [] { "scopes" }
},
ServiceNow = new ServiceNowServiceDetailsProperty {
InstanceUrl = "instanceUrl",
// the properties below are optional
AuthorizationConfig = new ServiceNowAuthorizationConfigProperty {
OAuthClientCredentials = new OAuthClientDetailsProperty {
ClientId = "clientId",
ClientSecret = "clientSecret",
// the properties below are optional
ClientName = "clientName",
ExchangeParameters = exchangeParameters
}
}
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetUrlPrivateConnectionName = "targetUrlPrivateConnectionName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var exchangeParameters interface{}
cfnServiceProps := &CfnServiceProps{
ServiceType: jsii.String("serviceType"),
// the properties below are optional
ExchangeUrlPrivateConnectionName: jsii.String("exchangeUrlPrivateConnectionName"),
KmsKeyArn: jsii.String("kmsKeyArn"),
Name: jsii.String("name"),
PrivateConnectionName: jsii.String("privateConnectionName"),
ServiceDetails: &ServiceDetailsProperty{
AzureIdentity: &AzureIdentityServiceDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
},
Dynatrace: &DynatraceServiceDetailsProperty{
AccountUrn: jsii.String("accountUrn"),
// the properties below are optional
AuthorizationConfig: &DynatraceAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
GitHub: &GitHubDetailsProperty{
AppVerification: &GitHubAppVerificationDetailsProperty{
AppVariant: jsii.String("appVariant"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
OrganizationName: jsii.String("organizationName"),
TargetUrl: jsii.String("targetUrl"),
},
DirectAccess: &GitHubPatDetailsProperty{
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
OrganizationName: jsii.String("organizationName"),
TargetUrl: jsii.String("targetUrl"),
},
},
GitLab: &GitLabDetailsProperty{
TargetUrl: jsii.String("targetUrl"),
TokenType: jsii.String("tokenType"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
GroupId: jsii.String("groupId"),
},
McpServer: &MCPServerDetailsProperty{
AuthorizationConfig: &MCPServerAuthorizationConfigProperty{
ApiKey: &ApiKeyDetailsProperty{
ApiKeyHeader: jsii.String("apiKeyHeader"),
ApiKeyName: jsii.String("apiKeyName"),
ApiKeyValue: jsii.String("apiKeyValue"),
},
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
OAuthClientCredentials: &MCPServerOAuthClientCredentialsConfigProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
ExchangeUrl: jsii.String("exchangeUrl"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
Scopes: []*string{
jsii.String("scopes"),
},
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerGrafana: &MCPServerGrafanaDetailsProperty{
AuthorizationConfig: &MCPServerGrafanaAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerNewRelic: &NewRelicServiceDetailsProperty{
AuthorizationConfig: &NewRelicAuthorizationConfigProperty{
ApiKey: &NewRelicApiKeyConfigProperty{
AccountId: jsii.String("accountId"),
ApiKey: jsii.String("apiKey"),
Region: jsii.String("region"),
// the properties below are optional
AlertPolicyIds: []*string{
jsii.String("alertPolicyIds"),
},
ApplicationIds: []*string{
jsii.String("applicationIds"),
},
EntityGuids: []*string{
jsii.String("entityGuids"),
},
},
},
},
McpServerSigV4: &MCPServerSigV4DetailsProperty{
AuthorizationConfig: &MCPServerSigV4AuthorizationConfigProperty{
Region: jsii.String("region"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
McpRoleArn: jsii.String("mcpRoleArn"),
RoleArn: jsii.String("roleArn"),
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
McpServerSplunk: &MCPServerSplunkDetailsProperty{
AuthorizationConfig: &MCPServerSplunkAuthorizationConfigProperty{
BearerToken: &BearerTokenDetailsProperty{
TokenName: jsii.String("tokenName"),
TokenValue: jsii.String("tokenValue"),
// the properties below are optional
AuthorizationHeader: jsii.String("authorizationHeader"),
},
},
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
},
PagerDuty: &PagerDutyDetailsProperty{
AuthorizationConfig: &PagerDutyAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
Scopes: []*string{
jsii.String("scopes"),
},
},
ServiceNow: &ServiceNowServiceDetailsProperty{
InstanceUrl: jsii.String("instanceUrl"),
// the properties below are optional
AuthorizationConfig: &ServiceNowAuthorizationConfigProperty{
OAuthClientCredentials: &OAuthClientDetailsProperty{
ClientId: jsii.String("clientId"),
ClientSecret: jsii.String("clientSecret"),
// the properties below are optional
ClientName: jsii.String("clientName"),
ExchangeParameters: exchangeParameters,
},
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TargetUrlPrivateConnectionName: jsii.String("targetUrlPrivateConnectionName"),
}
Properties
exchangeUrlPrivateConnectionNameoptionalstringexchange_url_private_connection_nameoptionalstrexchangeUrlPrivateConnectionNameoptionalStringExchangeUrlPrivateConnectionNameoptionalstringExchangeUrlPrivateConnectionNameoptional*string#The name of the private connection to use for OAuth token exchange requests only.
Cannot be specified when PrivateConnectionName is provided.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string#The ARN of the KMS key to use for encryption.
The display name for the service registration.
privateConnectionNameoptionalstringprivate_connection_nameoptionalstrprivateConnectionNameoptionalStringPrivateConnectionNameoptionalstringPrivateConnectionNameoptional*string#The name of the private connection to use for VPC connectivity.
serviceDetailsoptionalIResolvable | CfnService.ServiceDetailsPropertyservice_detailsoptionaltyping.Union[IResolvable, ServiceDetailsProperty]serviceDetailsoptionalIResolvableServiceDetailsoptionalIResolvableServiceDetailsoptionalinterface{}#Service-specific configuration details - MCPServerSigV4 supports in-place updates;
notes
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, including GitHub, require replacement when modified
The type of service being registered.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#An array of key-value pairs to apply to this resource.
targetUrlPrivateConnectionNameoptionalstringtarget_url_private_connection_nameoptionalstrtargetUrlPrivateConnectionNameoptionalStringTargetUrlPrivateConnectionNameoptionalstringTargetUrlPrivateConnectionNameoptional*string#The name of the private connection to use for API calls (target URL) only.
Cannot be specified when PrivateConnectionName is provided.