interface DescriptorsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecord.DescriptorsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecord_DescriptorsProperty |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.DescriptorsProperty |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecord.DescriptorsProperty |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecord » DescriptorsProperty |
The typed set of descriptors for a registry record.
Exactly one descriptor field is populated based on the record type.
Example
// 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 descriptorsProperty: agentregistry.CfnRegistryRecord.DescriptorsProperty = {
a2AAgentCard: {
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',
}],
},
},
},
agentSkillsDefinition: {
additionalData: {
skillMd: {
data: 'data',
dataSchemaVersion: 'dataSchemaVersion',
source: {
fromUrl: {
url: 'url',
},
},
},
},
data: 'data',
dataSchemaVersion: 'dataSchemaVersion',
},
custom: {
data: 'data',
},
mcpServer: {
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
| Name | Type | Description |
|---|---|---|
| a2 | IResolvable | A2a | The A2A agent card descriptor, populated when the record type is AGENT. |
| agent | IResolvable | Agent | The agent skills definition descriptor, populated when the record type is SKILL. |
| custom? | IResolvable | Custom | The custom descriptor, populated when the record type is CUSTOM. |
| mcp | IResolvable | Mcp | The MCP server descriptor, populated when the record type is MCP. |
a2AAgentCard?
Type:
IResolvable | A2a
(optional)
The A2A agent card descriptor, populated when the record type is AGENT.
agentSkillsDefinition?
Type:
IResolvable | Agent
(optional)
The agent skills definition descriptor, populated when the record type is SKILL.
custom?
Type:
IResolvable | Custom
(optional)
The custom descriptor, populated when the record type is CUSTOM.
mcpServer?
Type:
IResolvable | Mcp
(optional)
The MCP server descriptor, populated when the record type is MCP.

.NET
Go
Java
Python
TypeScript