Interface CfnRegistryRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:01.961Z")
@Stability(Stable)
public interface CfnRegistryRecordProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.agentregistry.*;
CfnRegistryRecordProps cfnRegistryRecordProps = CfnRegistryRecordProps.builder()
.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 TypeInterfaceDescriptionstatic final classA builder forCfnRegistryRecordPropsstatic final classAn implementation forCfnRegistryRecordProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe description of the registry record.The typed set of descriptors for a registry record.default StringThe human-readable display name of the registry record.getName()The name of the registry record.The type of the registry record.default StringThe version of the registry record.The identifier of the registry containing the record.getTags()Tags to assign to the registry record.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescriptors
The typed set of descriptors for a registry record.Exactly one descriptor field is populated based on the record type.
Returns union: either
IResolvableorCfnRegistryRecord.DescriptorsProperty- See Also:
-
getName
The name of the registry record.- See Also:
-
getRecordType
The type of the registry record.- See Also:
-
getRegistryId
The identifier of the registry containing the record.- See Also:
-
getDescription
The description of the registry record.- See Also:
-
getDisplayName
The human-readable display name of the registry record.- See Also:
-
getRecordVersion
The version of the registry record.- See Also:
-
getTags
Tags to assign to the registry record.- See Also:
-
builder
- Returns:
- a
CfnRegistryRecordProps.BuilderofCfnRegistryRecordProps
-