CmdID / aws / aws kendra
aws kendra put-principal-mapping
Maps users to their groups so that you only need to provide the user ID when you issue the query. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--data-source-idThe identifier of the data source you want to map users to their groups.--group-idThe identifier of the group you want to map its users to.--group-membersThe list that contains your users that belong the same group.--index-idThe identifier of the index you want to map users to their groups.--ordering-idThe timestamp identifier you specify to ensure Amazon Kendra doesn't override the latest PUT action with previous actions.--role-arnThe Amazon Resource Name (ARN) of an IAM role that has access to the S3 file that contains your list of users that belong to a group.