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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIndex.UserTokenConfigurationProperty
static final class
An 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.- See Also:
-
getJwtTokenTypeConfiguration
Information about the JWT token type configuration.- See Also:
-
builder
-