Interface CfnRegistry.DiscoveryConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistry.DiscoveryConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRegistry
@Stability(Stable)
public static interface CfnRegistry.DiscoveryConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Discovery configuration for the registry.
Controls how consumers are authorized to search the registry and invoke its MCP endpoint.
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.*;
DiscoveryConfigurationProperty discoveryConfigurationProperty = DiscoveryConfigurationProperty.builder()
.authorizerConfiguration(AuthorizerConfigurationProperty.builder()
.customJwtAuthorizer(CustomJWTAuthorizerConfigurationProperty.builder()
.discoveryUrl("discoveryUrl")
// the properties below are optional
.allowedAudience(List.of("allowedAudience"))
.allowedClients(List.of("allowedClients"))
.allowedScopes(List.of("allowedScopes"))
.customClaims(List.of(CustomClaimValidationTypeProperty.builder()
.authorizingClaimMatchValue(AuthorizingClaimMatchValueTypeProperty.builder()
.claimMatchOperator("claimMatchOperator")
.claimMatchValue(ClaimMatchValueTypeProperty.builder()
.matchValueString("matchValueString")
.matchValueStringList(List.of("matchValueStringList"))
.build())
.build())
.inboundTokenClaimName("inboundTokenClaimName")
.inboundTokenClaimValueType("inboundTokenClaimValueType")
.build()))
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRegistry.DiscoveryConfigurationPropertystatic final classAn implementation forCfnRegistry.DiscoveryConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizerConfiguration
The authorizer configuration for the registry.This is a union - specify exactly one member.
Returns union: either
IResolvableorCfnRegistry.AuthorizerConfigurationProperty- See Also:
-
builder
-