# MCPServerSigV4DetailsProperty

SigV4-authenticated MCP server configuration.

- Source: Generated at build time
- Type last changed: v2.251.0 · 24 Apr 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 mCPServerSigV4DetailsProperty: devopsagent.CfnService.MCPServerSigV4DetailsProperty = {
  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',
};
```

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_sig_v4_details_property = 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"
)
```

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

MCPServerSigV4DetailsProperty mCPServerSigV4DetailsProperty = 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();
```

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 mCPServerSigV4DetailsProperty = 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"
};
```

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"

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

## Properties

- `authorizationConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnService.MCPServerSigV4AuthorizationConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_devopsagent.CfnService.MCPServerSigV4AuthorizationConfigProperty.html) (required) — SigV4 authorization configuration for MCP server.

- `description`: string — Optional description for the MCP server.

- `endpoint`: string (required) — MCP server endpoint URL.

- `name`: string (required) — MCP server name.
