RegisteredMCPServerDetailsProperty Struct
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 registeredMCPServerDetailsProperty: devopsagent.CfnService.RegisteredMCPServerDetailsProperty = {
authorizationMethod: 'authorizationMethod',
endpoint: 'endpoint',
name: 'name',
// the properties below are optional
apiKeyHeader: 'apiKeyHeader',
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
registered_mcp_server_details_property = devopsagent.CfnService.RegisteredMCPServerDetailsProperty(
authorization_method="authorizationMethod",
endpoint="endpoint",
name="name",
# the properties below are optional
api_key_header="apiKeyHeader",
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.*;
RegisteredMCPServerDetailsProperty registeredMCPServerDetailsProperty = RegisteredMCPServerDetailsProperty.builder()
.authorizationMethod("authorizationMethod")
.endpoint("endpoint")
.name("name")
// the properties below are optional
.apiKeyHeader("apiKeyHeader")
.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 registeredMCPServerDetailsProperty = new RegisteredMCPServerDetailsProperty {
AuthorizationMethod = "authorizationMethod",
Endpoint = "endpoint",
Name = "name",
// the properties below are optional
ApiKeyHeader = "apiKeyHeader",
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"
registeredMCPServerDetailsProperty := &RegisteredMCPServerDetailsProperty{
AuthorizationMethod: jsii.String("authorizationMethod"),
Endpoint: jsii.String("endpoint"),
Name: jsii.String("name"),
// the properties below are optional
ApiKeyHeader: jsii.String("apiKeyHeader"),
Description: jsii.String("description"),
}
Properties
apiKeyHeaderoptionalstringapi_key_headeroptionalstrapiKeyHeaderoptionalStringApiKeyHeaderoptionalstringApiKeyHeaderoptional*string #API key header name if using API key authentication.
authorizationMethodstringauthorization_methodstrauthorizationMethodStringAuthorizationMethodstringAuthorizationMethod*string required #MCP server authorization method.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #Optional description for the MCP server.
MCP server endpoint URL.
MCP server name.