@Stability(value=Stable)
public static interface CfnIndex.UserTokenConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIndex.UserTokenConfigurationProperty.Builder
A builder for
CfnIndex.UserTokenConfigurationProperty |
static class |
CfnIndex.UserTokenConfigurationProperty.Jsii$Proxy
An implementation for
CfnIndex.UserTokenConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIndex.UserTokenConfigurationProperty.Builder |
builder() |
default Object |
getJsonTokenTypeConfiguration()
Information about the JSON token type configuration.
|
default Object |
getJwtTokenTypeConfiguration()
Information about the JWT token type configuration.
|
@Stability(value=Stable) @Nullable default Object getJsonTokenTypeConfiguration()
@Stability(value=Stable) @Nullable default Object getJwtTokenTypeConfiguration()
@Stability(value=Stable) static CfnIndex.UserTokenConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.