Interface CfnRegistryRecord.A2aAgentCardDescriptorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryRecord.A2aAgentCardDescriptorProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryRecord
@Stability(Stable)
public static interface CfnRegistryRecord.A2aAgentCardDescriptorProperty
extends software.amazon.jsii.JsiiSerializable
The A2A agent card descriptor, populated when the record type is AGENT.
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.*;
A2aAgentCardDescriptorProperty a2aAgentCardDescriptorProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRegistryRecord.A2aAgentCardDescriptorPropertystatic final classAn implementation forCfnRegistryRecord.A2aAgentCardDescriptorProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getData
Descriptor payload data.- See Also:
-
getDataSchemaVersion
Version of the descriptor type schema.- See Also:
-
getSource
The source configuration that defines where descriptor content is retrieved from.Returns union: either
IResolvableorCfnRegistryRecord.DescriptorSourceProperty- See Also:
-
builder
-