Class CfnRegistryRecord
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord
- All Implemented Interfaces:
IInspectable,IRegistryRecordRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:01.951Z")
@Stability(Stable)
public class CfnRegistryRecord
extends CfnResource
implements IInspectable, IRegistryRecordRef, ITaggableV2
Definition of AWS::AgentRegistry::RegistryRecord Resource Type.
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.*;
CfnRegistryRecord cfnRegistryRecord = CfnRegistryRecord.Builder.create(this, "MyCfnRegistryRecord")
.descriptors(DescriptorsProperty.builder()
.a2AAgentCard(A2aAgentCardDescriptorProperty.builder()
.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())
.agentSkillsDefinition(AgentSkillsDefinitionDescriptorProperty.builder()
.additionalData(AgentSkillsAdditionalDataProperty.builder()
.skillMd(AgentSkillsMdDescriptorProperty.builder()
.data("data")
.dataSchemaVersion("dataSchemaVersion")
.source(SkillMdSourceProperty.builder()
.fromUrl(SkillMdSourceFromUrlProperty.builder()
.url("url")
.build())
.build())
.build())
.build())
.data("data")
.dataSchemaVersion("dataSchemaVersion")
.build())
.custom(CustomDescriptorProperty.builder()
.data("data")
.build())
.mcpServer(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())
.build())
.name("name")
.recordType("recordType")
.registryId("registryId")
// the properties below are optional
.description("description")
.displayName("displayName")
.recordVersion("recordVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe A2A agent card descriptor, populated when the record type is AGENT.static interfaceAdditional data associated with an agent skills definition descriptor.static interfaceThe agent skills definition descriptor, populated when the record type is SKILL.static interfaceMarkdown-format descriptor containing an agent skills document.static final classA fluent builder forCfnRegistryRecord.static interfaceThe custom descriptor, populated when the record type is CUSTOM.static interfaceURL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval.static interfaceThe source configuration that defines where descriptor content is retrieved from.static interfaceThe typed set of descriptors for a registry record.static interfaceAdditional data associated with an MCP server descriptor.static interfaceThe MCP server descriptor, populated when the record type is MCP.static interfaceThe MCP tools descriptor.static interfaceA credential provider configuration used for authenticated descriptor retrieval.static interfaceThe credential provider details.static interfaceIAM credential provider configuration.static interfaceOAuth credential provider configuration.static interfaceURL-based source for SkillMd content (sync is skipped;static interfaceSource configuration for a SkillMd document.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.agentregistry.IRegistryRecordRef
IRegistryRecordRef.Jsii$Default, IRegistryRecordRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnRegistryRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRegistryRecord(software.amazon.jsii.JsiiObjectRef objRef) CfnRegistryRecord(software.constructs.Construct scope, String id, CfnRegistryRecordProps props) Create a newAWS::AgentRegistry::RegistryRecord. -
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the registry record was created.The Amazon Resource Name (ARN) of the registry record.The unique identifier of the registry record.The Amazon Resource Name (ARN) of the registry containing the record.The lifecycle status of the registry record.The timestamp when the registry record was last updated.Tag Manager which manages the tags for this resource.The description of the registry record.The typed set of descriptors for a registry record.The human-readable display name of the registry record.getName()The name of the registry record.The type of the registry record.The version of the registry record.The identifier of the registry containing the record.A reference to a RegistryRecord resource.getTags()Tags to assign to the registry record.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnRegistryRecord.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the registry record.voidsetDescriptors(IResolvable value) The typed set of descriptors for a registry record.voidThe typed set of descriptors for a registry record.voidsetDisplayName(String value) The human-readable display name of the registry record.voidThe name of the registry record.voidsetRecordType(String value) The type of the registry record.voidsetRecordVersion(String value) The version of the registry record.voidsetRegistryId(String value) The identifier of the registry containing the record.voidTags to assign to the registry record.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRegistryRecord
protected CfnRegistryRecord(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRegistryRecord
protected CfnRegistryRecord(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRegistryRecord
@Stability(Stable) public CfnRegistryRecord(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRegistryRecordProps props) Create a newAWS::AgentRegistry::RegistryRecord.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnRegistryRecord
Checks whether the given object is a CfnRegistryRecord.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The timestamp when the registry record was created. -
getAttrRecordArn
The Amazon Resource Name (ARN) of the registry record. -
getAttrRecordId
The unique identifier of the registry record. -
getAttrRegistryArn
The Amazon Resource Name (ARN) of the registry containing the record. -
getAttrStatus
The lifecycle status of the registry record. -
getAttrUpdatedAt
The timestamp when the registry record was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getRegistryRecordRef
A reference to a RegistryRecord resource.- Specified by:
getRegistryRecordRefin interfaceIRegistryRecordRef
-
getDescriptors
The typed set of descriptors for a registry record.Returns union: either
IResolvableorCfnRegistryRecord.DescriptorsProperty -
setDescriptors
The typed set of descriptors for a registry record. -
setDescriptors
The typed set of descriptors for a registry record. -
getName
The name of the registry record. -
setName
The name of the registry record. -
getRecordType
The type of the registry record. -
setRecordType
The type of the registry record. -
getRegistryId
The identifier of the registry containing the record. -
setRegistryId
The identifier of the registry containing the record. -
getDescription
The description of the registry record. -
setDescription
The description of the registry record. -
getDisplayName
The human-readable display name of the registry record. -
setDisplayName
The human-readable display name of the registry record. -
getRecordVersion
The version of the registry record. -
setRecordVersion
The version of the registry record. -
getTags
Tags to assign to the registry record. -
setTags
Tags to assign to the registry record.
-