Interface CfnRegistry.CustomJWTAuthorizerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistry.CustomJWTAuthorizerConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRegistry
@Stability(Stable)
public static interface CfnRegistry.CustomJWTAuthorizerConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for a custom JWT authorizer that validates inbound bearer tokens against an OpenID Connect identity provider.
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.*;
CustomJWTAuthorizerConfigurationProperty customJWTAuthorizerConfigurationProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRegistry.CustomJWTAuthorizerConfigurationPropertystatic final classAn implementation forCfnRegistry.CustomJWTAuthorizerConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The audience values accepted during JWT validation.The client identifiers accepted during JWT validation.The scopes accepted during JWT validation.default ObjectAdditional custom claim validations applied to the inbound JWT.The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDiscoveryUrl
The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.- See Also:
-
getAllowedAudience
The audience values accepted during JWT validation.- See Also:
-
getAllowedClients
The client identifiers accepted during JWT validation.- See Also:
-
getAllowedScopes
The scopes accepted during JWT validation.- See Also:
-
getCustomClaims
Additional custom claim validations applied to the inbound JWT.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRegistry.CustomClaimValidationTypeProperty>- See Also:
-
builder
-