/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the kendra-2019-02-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Kendra.Model { /// /// Provides the configuration information to get users and groups from an IAM Identity /// Center (successor to Single Sign-On) identity source. This is useful for user context /// filtering, where search results are filtered based on the user or their group access /// to documents. You can also use the PutPrincipalMapping /// API to map users to their groups so that you only need to provide the user ID when /// you issue the query. /// /// /// /// To set up an IAM Identity Center identity source in the console to use with Amazon /// Kendra, see Getting /// started with an IAM Identity Center identity source. You must also grant the required /// permissions to use IAM Identity Center with Amazon Kendra. For more information, see /// IAM /// roles for IAM Identity Center. /// /// /// /// Amazon Kendra currently does not support using UserGroupResolutionConfiguration /// with an Amazon Web Services organization member account for your IAM Identity Center /// identify source. You must create your index in the management account for the organization /// in order to use UserGroupResolutionConfiguration. /// /// public partial class UserGroupResolutionConfiguration { private UserGroupResolutionMode _userGroupResolutionMode; /// /// Gets and sets the property UserGroupResolutionMode. /// /// The identity store provider (mode) you want to use to get users and groups. IAM Identity /// Center (successor to Single Sign-On) is currently the only available mode. Your users /// and groups must exist in an IAM Identity Center identity source in order to use this /// mode. /// /// [AWSProperty(Required=true)] public UserGroupResolutionMode UserGroupResolutionMode { get { return this._userGroupResolutionMode; } set { this._userGroupResolutionMode = value; } } // Check to see if UserGroupResolutionMode property is set internal bool IsSetUserGroupResolutionMode() { return this._userGroupResolutionMode != null; } } }