Interface CfnRegistryRecord.McpServerDescriptorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryRecord.McpServerDescriptorProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryRecord
@Stability(Stable)
public static interface CfnRegistryRecord.McpServerDescriptorProperty
extends software.amazon.jsii.JsiiSerializable
The MCP server descriptor, populated when the record type is MCP.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.agentregistry.*;
McpServerDescriptorProperty mcpServerDescriptorProperty = McpServerDescriptorProperty.builder()
.additionalData(McpServerAdditionalDataProperty.builder()
.tools(McpToolsDescriptorProperty.builder()
.data("data")
.dataSchemaVersion("dataSchemaVersion")
.build())
.build())
.data("data")
.dataSchemaVersion("dataSchemaVersion")
.source(DescriptorSourceProperty.builder()
.fromUrl(DescriptorSourceFromUrlProperty.builder()
.url("url")
// the properties below are optional
.credentialProviderConfigurations(List.of(RegistryRecordCredentialProviderConfigurationProperty.builder()
.credentialProvider(RegistryRecordCredentialProviderUnionProperty.builder()
.iamCredentialProvider(RegistryRecordIamCredentialProviderProperty.builder()
.region("region")
.roleArn("roleArn")
.service("service")
.build())
.oauthCredentialProvider(RegistryRecordOAuthCredentialProviderProperty.builder()
.providerArn("providerArn")
// the properties below are optional
.customParameters(Map.of(
"customParametersKey", "customParameters"))
.grantType("grantType")
.scopes(List.of("scopes"))
.build())
.build())
.credentialProviderType("credentialProviderType")
.build()))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRegistryRecord.McpServerDescriptorPropertystatic final classAn implementation forCfnRegistryRecord.McpServerDescriptorProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAdditional data associated with an MCP server descriptor.default StringgetData()Descriptor payload data.default StringVersion of the descriptor type schema.default ObjectThe source configuration that defines where descriptor content is retrieved from.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalData
Additional data associated with an MCP server descriptor.Returns union: either
IResolvableorCfnRegistryRecord.McpServerAdditionalDataProperty- See Also:
-
getData
Descriptor payload data.- See Also:
-
getDataSchemaVersion
Version of the descriptor type schema.- See Also:
-
getSource
The source configuration that defines where descriptor content is retrieved from.Returns union: either
IResolvableorCfnRegistryRecord.DescriptorSourceProperty- See Also:
-
builder
-