# MCPServerSplunkAuthorizationConfigProperty

MCP server splunk authorization configuration.

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```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 mCPServerSplunkAuthorizationConfigProperty: devopsagent.CfnService.MCPServerSplunkAuthorizationConfigProperty = {
  bearerToken: {
    tokenName: 'tokenName',
    tokenValue: 'tokenValue',

    // the properties below are optional
    authorizationHeader: 'authorizationHeader',
  },
};
```

Python:

```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_authorization_config_property = devopsagent.CfnService.MCPServerSplunkAuthorizationConfigProperty(
    bearer_token=devopsagent.CfnService.BearerTokenDetailsProperty(
        token_name="tokenName",
        token_value="tokenValue",

        # the properties below are optional
        authorization_header="authorizationHeader"
    )
)
```

Java:

```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.*;

MCPServerSplunkAuthorizationConfigProperty mCPServerSplunkAuthorizationConfigProperty = MCPServerSplunkAuthorizationConfigProperty.builder()
        .bearerToken(BearerTokenDetailsProperty.builder()
                .tokenName("tokenName")
                .tokenValue("tokenValue")

                // the properties below are optional
                .authorizationHeader("authorizationHeader")
                .build())
        .build();
```

C# / .NET:

```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 mCPServerSplunkAuthorizationConfigProperty = new MCPServerSplunkAuthorizationConfigProperty {
    BearerToken = new BearerTokenDetailsProperty {
        TokenName = "tokenName",
        TokenValue = "tokenValue",

        // the properties below are optional
        AuthorizationHeader = "authorizationHeader"
    }
};
```

Golang:

```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"

mCPServerSplunkAuthorizationConfigProperty := &MCPServerSplunkAuthorizationConfigProperty{
	BearerToken: &BearerTokenDetailsProperty{
		TokenName: jsii.String("tokenName"),
		TokenValue: jsii.String("tokenValue"),

		// the properties below are optional
		AuthorizationHeader: jsii.String("authorizationHeader"),
	},
}
```

## Properties

- `bearerToken`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnService.BearerTokenDetailsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_devopsagent.CfnService.BearerTokenDetailsProperty.html) (required) — Bearer token authentication details.
