Interface CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryPropsMixin
@Stability(Stable)
public static interface CfnRegistryPropsMixin.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.cfnpropertymixins.services.agentregistry.*;
CustomJWTAuthorizerConfigurationProperty customJWTAuthorizerConfigurationProperty = CustomJWTAuthorizerConfigurationProperty.builder()
.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()))
.discoveryUrl("discoveryUrl")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnRegistryPropsMixin.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.default StringThe 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
-
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: '<'eitherIResolvableorCfnRegistryPropsMixin.CustomClaimValidationTypeProperty>- See Also:
-
getDiscoveryUrl
The OpenID Connect discovery URL used to retrieve the identity provider's metadata and signing keys.- See Also:
-
builder
@Stability(Stable) static CfnRegistryPropsMixin.CustomJWTAuthorizerConfigurationProperty.Builder builder()
-