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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndex.UserTokenConfigurationPropertystatic final classAn implementation forCfnIndex.UserTokenConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJsonTokenTypeConfiguration
Information about the JSON token type configuration. -
getJwtTokenTypeConfiguration
Information about the JWT token type configuration. -
builder
-