Class CfnRegistryRecord

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 new AWS::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

      @Stability(Stable) @NotNull public static Boolean isCfnRegistryRecord(@NotNull Object x)
      Checks whether the given object is a CfnRegistryRecord.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the registry record was created.
    • getAttrRecordArn

      @Stability(Stable) @NotNull public String getAttrRecordArn()
      The Amazon Resource Name (ARN) of the registry record.
    • getAttrRecordId

      @Stability(Stable) @NotNull public String getAttrRecordId()
      The unique identifier of the registry record.
    • getAttrRegistryArn

      @Stability(Stable) @NotNull public String getAttrRegistryArn()
      The Amazon Resource Name (ARN) of the registry containing the record.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The lifecycle status of the registry record.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the registry record was last updated.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getRegistryRecordRef

      @Stability(Stable) @NotNull public RegistryRecordReference getRegistryRecordRef()
      A reference to a RegistryRecord resource.
      Specified by:
      getRegistryRecordRef in interface IRegistryRecordRef
    • getDescriptors

      @Stability(Stable) @NotNull public Object getDescriptors()
      The typed set of descriptors for a registry record.

      Returns union: either IResolvable or CfnRegistryRecord.DescriptorsProperty

    • setDescriptors

      @Stability(Stable) public void setDescriptors(@NotNull IResolvable value)
      The typed set of descriptors for a registry record.
    • setDescriptors

      @Stability(Stable) public void setDescriptors(@NotNull CfnRegistryRecord.DescriptorsProperty value)
      The typed set of descriptors for a registry record.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the registry record.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the registry record.
    • getRecordType

      @Stability(Stable) @NotNull public String getRecordType()
      The type of the registry record.
    • setRecordType

      @Stability(Stable) public void setRecordType(@NotNull String value)
      The type of the registry record.
    • getRegistryId

      @Stability(Stable) @NotNull public String getRegistryId()
      The identifier of the registry containing the record.
    • setRegistryId

      @Stability(Stable) public void setRegistryId(@NotNull String value)
      The identifier of the registry containing the record.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the registry record.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the registry record.
    • getDisplayName

      @Stability(Stable) @Nullable public String getDisplayName()
      The human-readable display name of the registry record.
    • setDisplayName

      @Stability(Stable) public void setDisplayName(@Nullable String value)
      The human-readable display name of the registry record.
    • getRecordVersion

      @Stability(Stable) @Nullable public String getRecordVersion()
      The version of the registry record.
    • setRecordVersion

      @Stability(Stable) public void setRecordVersion(@Nullable String value)
      The version of the registry record.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags to assign to the registry record.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags to assign to the registry record.