class Aws::Kendra::Types::HierarchicalPrincipal

Information to define the hierarchy for which documents users should have access to.

@note When making an API call, you may pass HierarchicalPrincipal

data as a hash:

    {
      principal_list: [ # required
        {
          name: "PrincipalName", # required
          type: "USER", # required, accepts USER, GROUP
          access: "ALLOW", # required, accepts ALLOW, DENY
          data_source_id: "DataSourceId",
        },
      ],
    }

@!attribute [rw] principal_list

A list of [principal][1] lists that define the hierarchy for which
documents users should have access to. Each hierarchical list
specifies which user or group has allow or deny access for each
document.

[1]: https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html
@return [Array<Types::Principal>]

@see docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/HierarchicalPrincipal AWS API Documentation

Constants

SENSITIVE