Skip to content
v2.277.0

MCPServerSplunkDetailsProperty Struct ​

Splunk MCP server configuration.

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';
const mCPServerSplunkDetailsProperty: devopsagent.CfnService.MCPServerSplunkDetailsProperty = {
  authorizationConfig: {
    bearerToken: {
      tokenName: 'tokenName',
      tokenValue: 'tokenValue',

      // the properties below are optional
      authorizationHeader: 'authorizationHeader',
    },
  },
  endpoint: 'endpoint',
  name: 'name',

  // the properties below are optional
  description: 'description',
};
python
# 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

m_cp_server_splunk_details_property = 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"
)
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.*;

MCPServerSplunkDetailsProperty mCPServerSplunkDetailsProperty = 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();
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 mCPServerSplunkDetailsProperty = 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"
};
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"

mCPServerSplunkDetailsProperty := &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"),
}

Properties ​

authorizationConfigIResolvable | CfnService.MCPServerSplunkAuthorizationConfigPropertyauthorization_configtyping.Union[IResolvable, MCPServerSplunkAuthorizationConfigProperty]authorizationConfigIResolvableAuthorizationConfigIResolvableAuthorizationConfiginterface{} required #
MCP server splunk authorization configuration.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
Optional description for the MCP server.
endpointstringendpointstrendpointStringEndpointstringEndpoint*string required #
MCP server endpoint URL.
namestringnamestrnameStringNamestringName*string required #
MCP server name.