interface CfnRegistryRecordProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AgentRegistry.CfnRegistryRecordProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsagentregistry#CfnRegistryRecordProps |
Java | software.amazon.awscdk.services.agentregistry.CfnRegistryRecordProps |
Python | aws_cdk.aws_agentregistry.CfnRegistryRecordProps |
TypeScript | aws-cdk-lib » aws_agentregistry » CfnRegistryRecordProps |
Properties for defining a CfnRegistryRecord.
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 cfnRegistryRecordProps: agentregistry.CfnRegistryRecordProps = {
descriptors: {
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',
}],
},
},
},
},
name: 'name',
recordType: 'recordType',
registryId: 'registryId',
// the properties below are optional
description: 'description',
displayName: 'displayName',
recordVersion: 'recordVersion',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| descriptors | IResolvable | Descriptors | The typed set of descriptors for a registry record. |
| name | string | The name of the registry record. |
| record | string | The type of the registry record. |
| registry | string | The identifier of the registry containing the record. |
| description? | string | The description of the registry record. |
| display | string | The human-readable display name of the registry record. |
| record | string | The version of the registry record. |
| tags? | Cfn[] | Tags to assign to the registry record. |
descriptors
Type:
IResolvable | Descriptors
The typed set of descriptors for a registry record.
Exactly one descriptor field is populated based on the record type.
name
Type:
string
The name of the registry record.
recordType
Type:
string
The type of the registry record.
registryId
Type:
string
The identifier of the registry containing the record.
description?
Type:
string
(optional)
The description of the registry record.
displayName?
Type:
string
(optional)
The human-readable display name of the registry record.
recordVersion?
Type:
string
(optional)
The version of the registry record.
tags?
Type:
Cfn[]
(optional)
Tags to assign to the registry record.

.NET
Go
Java
Python
TypeScript