Skip to content
v2.275.0

DiscoveryConfigurationProperty Struct ​

Discovery configuration for the registry.

Controls how consumers are authorized to search the registry and invoke its MCP endpoint.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_agentregistry as agentregistry } from 'aws-cdk-lib';
const discoveryConfigurationProperty: agentregistry.CfnRegistry.DiscoveryConfigurationProperty = {
  authorizerConfiguration: {
    customJwtAuthorizer: {
      discoveryUrl: 'discoveryUrl',

      // the properties below are optional
      allowedAudience: ['allowedAudience'],
      allowedClients: ['allowedClients'],
      allowedScopes: ['allowedScopes'],
      customClaims: [{
        authorizingClaimMatchValue: {
          claimMatchOperator: 'claimMatchOperator',
          claimMatchValue: {
            matchValueString: 'matchValueString',
            matchValueStringList: ['matchValueStringList'],
          },
        },
        inboundTokenClaimName: 'inboundTokenClaimName',
        inboundTokenClaimValueType: 'inboundTokenClaimValueType',
      }],
    },
  },
};

Properties ​

authorizerConfigurationoptionalIResolvable | CfnRegistry.AuthorizerConfigurationPropertyauthorizer_configurationoptionaltyping.Union[IResolvable, AuthorizerConfigurationProperty]authorizerConfigurationoptionalIResolvableAuthorizerConfigurationoptionalIResolvableAuthorizerConfigurationoptionalinterface{}#
The authorizer configuration for the registry.

This is a union - specify exactly one member.