aws-cdk-lib.aws_kendra.CfnIndex.UserTokenConfigurationProperty

interface UserTokenConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Kendra.CfnIndex.UserTokenConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnIndex_UserTokenConfigurationProperty
Javasoftware.amazon.awscdk.services.kendra.CfnIndex.UserTokenConfigurationProperty
Pythonaws_cdk.aws_kendra.CfnIndex.UserTokenConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_kendra as kendra } from 'aws-cdk-lib';
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

NameTypeDescription
jsonTokenTypeConfiguration?IResolvable | JsonTokenTypeConfigurationPropertyInformation about the JSON token type configuration.
jwtTokenTypeConfiguration?IResolvable | JwtTokenTypeConfigurationPropertyInformation about the JWT token type configuration.

jsonTokenTypeConfiguration?

Type: IResolvable | JsonTokenTypeConfigurationProperty (optional)

Information about the JSON token type configuration.


jwtTokenTypeConfiguration?

Type: IResolvable | JwtTokenTypeConfigurationProperty (optional)

Information about the JWT token type configuration.