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:



8282
8283
8284
8285
8286
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 8282

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