McpServerDescriptorProperty Struct
The MCP server descriptor, populated when the record type is MCP.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_agentregistry as agentregistry } from 'aws-cdk-lib';
const mcpServerDescriptorProperty: agentregistry.CfnRegistryRecord.McpServerDescriptorProperty = {
additionalData: {
tools: {
data: 'data',
dataSchemaVersion: 'dataSchemaVersion',
},
},
data: 'data',
dataSchemaVersion: 'dataSchemaVersion',
source: {
fromUrl: {
url: 'url',
// the properties below are optional
credentialProviderConfigurations: [{
credentialProvider: {
iamCredentialProvider: {
region: 'region',
roleArn: 'roleArn',
service: 'service',
},
oauthCredentialProvider: {
providerArn: 'providerArn',
// the properties below are optional
customParameters: {
customParametersKey: 'customParameters',
},
grantType: 'grantType',
scopes: ['scopes'],
},
},
credentialProviderType: 'credentialProviderType',
}],
},
},
};
Properties
additionalDataoptionalIResolvable | CfnRegistryRecord.McpServerAdditionalDataPropertyadditional_dataoptionaltyping.Union[IResolvable, McpServerAdditionalDataProperty]additionalDataoptionalIResolvableAdditionalDataoptionalIResolvableAdditionalDataoptionalinterface{}#Additional data associated with an MCP server descriptor.
Descriptor payload data.
dataSchemaVersionoptionalstringdata_schema_versionoptionalstrdataSchemaVersionoptionalStringDataSchemaVersionoptionalstringDataSchemaVersionoptional*string#Version of the descriptor type schema.
sourceoptionalIResolvable | CfnRegistryRecord.DescriptorSourcePropertysourceoptionaltyping.Union[IResolvable, DescriptorSourceProperty]sourceoptionalIResolvableSourceoptionalIResolvableSourceoptionalinterface{}#The source configuration that defines where descriptor content is retrieved from.