Skip to content
v2.278.0

MCPServerSigV4DetailsProperty Struct ​

SigV4-authenticated 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 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
# 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
// 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();
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"
};
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 ​

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