Class: Aws::Kendra::Types::HierarchicalPrincipal

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb

Overview

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",
    },
  ],
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principal_listArray<Types::Principal>

A list of principal 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.

Returns:



7946
7947
7948
7949
7950
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 7946

class HierarchicalPrincipal < Struct.new(
  :principal_list)
  SENSITIVE = []
  include Aws::Structure
end