AuthorizerConfigurationProperty Struct
The authorizer configuration for the registry.
This is a union - specify exactly one member.
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 authorizerConfigurationProperty: agentregistry.CfnRegistry.AuthorizerConfigurationProperty = {
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
customJwtAuthorizerIResolvable | CfnRegistry.CustomJWTAuthorizerConfigurationPropertycustom_jwt_authorizertyping.Union[IResolvable, CustomJWTAuthorizerConfigurationProperty]customJwtAuthorizerIResolvableCustomJwtAuthorizerIResolvableCustomJwtAuthorizerinterface{}required#Configuration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.