Class CfnIndex.UserTokenConfigurationProperty
Provides the configuration information for a token.
Inheritance
System.Object
CfnIndex.UserTokenConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.AWS.Kendra.dll
Syntax (csharp)
public class UserTokenConfigurationProperty : Object, CfnIndex.IUserTokenConfigurationProperty
Syntax (vb)
Public Class UserTokenConfigurationProperty
Inherits Object
Implements CfnIndex.IUserTokenConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kendra;
var userTokenConfigurationProperty = new UserTokenConfigurationProperty {
JsonTokenTypeConfiguration = new JsonTokenTypeConfigurationProperty {
GroupAttributeField = "groupAttributeField",
UserNameAttributeField = "userNameAttributeField"
},
JwtTokenTypeConfiguration = new JwtTokenTypeConfigurationProperty {
KeyLocation = "keyLocation",
// the properties below are optional
ClaimRegex = "claimRegex",
GroupAttributeField = "groupAttributeField",
Issuer = "issuer",
SecretManagerArn = "secretManagerArn",
Url = "url",
UserNameAttributeField = "userNameAttributeField"
}
};
Synopsis
Constructors
UserTokenConfigurationProperty() |
Properties
JsonTokenTypeConfiguration | Information about the JSON token type configuration. |
JwtTokenTypeConfiguration | Information about the JWT token type configuration. |
Constructors
UserTokenConfigurationProperty()
public UserTokenConfigurationProperty()
Properties
JsonTokenTypeConfiguration
Information about the JSON token type configuration.
public object JsonTokenTypeConfiguration { get; set; }
Property Value
System.Object
Remarks
JwtTokenTypeConfiguration
Information about the JWT token type configuration.
public object JwtTokenTypeConfiguration { get; set; }
Property Value
System.Object