interface UserTokenConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnIndex.UserTokenConfigurationProperty |
Java | software.amazon.awscdk.services.kendra.CfnIndex.UserTokenConfigurationProperty |
Python | aws_cdk.aws_kendra.CfnIndex.UserTokenConfigurationProperty |
TypeScript | @aws-cdk/aws-kendra » CfnIndex » UserTokenConfigurationProperty |
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 * as kendra from '@aws-cdk/aws-kendra';
const userTokenConfigurationProperty: kendra.CfnIndex.UserTokenConfigurationProperty = {
jsonTokenTypeConfiguration: {
groupAttributeField: 'groupAttributeField',
userNameAttributeField: 'userNameAttributeField',
},
jwtTokenTypeConfiguration: {
keyLocation: 'keyLocation',
// the properties below are optional
claimRegex: 'claimRegex',
groupAttributeField: 'groupAttributeField',
issuer: 'issuer',
secretManagerArn: 'secretManagerArn',
url: 'url',
userNameAttributeField: 'userNameAttributeField',
},
};
Properties
Name | Type | Description |
---|---|---|
json | IResolvable | Json | Information about the JSON token type configuration. |
jwt | IResolvable | Jwt | Information about the JWT token type configuration. |
jsonTokenTypeConfiguration?
Type:
IResolvable
|
Json
(optional)
Information about the JSON token type configuration.
jwtTokenTypeConfiguration?
Type:
IResolvable
|
Jwt
(optional)
Information about the JWT token type configuration.