Interface CfnIndex.UserTokenConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIndex.UserTokenConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnIndex

@Stability(Stable) public static interface CfnIndex.UserTokenConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Provides the configuration information for a token.

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.kendra.*;
 UserTokenConfigurationProperty userTokenConfigurationProperty = UserTokenConfigurationProperty.builder()
         .jsonTokenTypeConfiguration(JsonTokenTypeConfigurationProperty.builder()
                 .groupAttributeField("groupAttributeField")
                 .userNameAttributeField("userNameAttributeField")
                 .build())
         .jwtTokenTypeConfiguration(JwtTokenTypeConfigurationProperty.builder()
                 .keyLocation("keyLocation")
                 // the properties below are optional
                 .claimRegex("claimRegex")
                 .groupAttributeField("groupAttributeField")
                 .issuer("issuer")
                 .secretManagerArn("secretManagerArn")
                 .url("url")
                 .userNameAttributeField("userNameAttributeField")
                 .build())
         .build();