RegisteredMCPServerSigV4DetailsProperty Struct
SigV4-authenticated MCP server details returned after registration.
| Source | |
|---|---|
| Type last changed |
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 registeredMCPServerSigV4DetailsProperty: devopsagent.CfnService.RegisteredMCPServerSigV4DetailsProperty = {
endpoint: 'endpoint',
name: 'name',
region: 'region',
roleArn: 'roleArn',
service: 'service',
// the properties below are optional
customHeaders: {
customHeadersKey: 'customHeaders',
},
description: 'description',
mcpRoleArn: 'mcpRoleArn',
};
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
registered_mcp_server_sig_v4_details_property = devopsagent.CfnService.RegisteredMCPServerSigV4DetailsProperty(
endpoint="endpoint",
name="name",
region="region",
role_arn="roleArn",
service="service",
# the properties below are optional
custom_headers={
"custom_headers_key": "customHeaders"
},
description="description",
mcp_role_arn="mcpRoleArn"
)
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.*;
RegisteredMCPServerSigV4DetailsProperty registeredMCPServerSigV4DetailsProperty = RegisteredMCPServerSigV4DetailsProperty.builder()
.endpoint("endpoint")
.name("name")
.region("region")
.roleArn("roleArn")
.service("service")
// the properties below are optional
.customHeaders(Map.of(
"customHeadersKey", "customHeaders"))
.description("description")
.mcpRoleArn("mcpRoleArn")
.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 registeredMCPServerSigV4DetailsProperty = new RegisteredMCPServerSigV4DetailsProperty {
Endpoint = "endpoint",
Name = "name",
Region = "region",
RoleArn = "roleArn",
Service = "service",
// the properties below are optional
CustomHeaders = new Dictionary<string, string> {
{ "customHeadersKey", "customHeaders" }
},
Description = "description",
McpRoleArn = "mcpRoleArn"
};
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"
registeredMCPServerSigV4DetailsProperty := &RegisteredMCPServerSigV4DetailsProperty{
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
Region: jsii.String("region"),
RoleArn: jsii.String("roleArn"),
Service: jsii.String("service"),
// the properties below are optional
CustomHeaders: map[string]*string{
"customHeadersKey": jsii.String("customHeaders"),
},
Description: jsii.String("description"),
McpRoleArn: jsii.String("mcpRoleArn"),
}
Properties
customHeadersoptionalIResolvable | { [key: string]: string }custom_headersoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]customHeadersoptionalIResolvableCustomHeadersoptionalIResolvableCustomHeadersoptionalinterface{} #Custom headers for the SigV4 MCP server.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #Optional description for the MCP server.
The MCP server endpoint URL.
mcpRoleArnoptionalstringmcp_role_arnoptionalstrmcpRoleArnoptionalStringMcpRoleArnoptionalstringMcpRoleArnoptional*string #IAM role ARN for SigV4 signing.
Absent when no dedicated role is configured.
The MCP server name.
AWS region for SigV4 signing.
Deprecated - use McpRoleArn instead.
IAM role ARN for SigV4 signing
AWS service name for SigV4 signing.