Class: Aws::Kendra::Types::Principal

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

Overview

Provides user and group information for [user context filtering].

[1]: docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accessString

Whether to allow or deny document access to the principal.

Returns:

  • (String)


7703
7704
7705
7706
7707
7708
7709
7710
# File 'lib/aws-sdk-kendra/types.rb', line 7703

class Principal < Struct.new(
  :name,
  :type,
  :access,
  :data_source_id)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_idString

The identifier of the data source the principal should access documents from.

Returns:

  • (String)


7703
7704
7705
7706
7707
7708
7709
7710
# File 'lib/aws-sdk-kendra/types.rb', line 7703

class Principal < Struct.new(
  :name,
  :type,
  :access,
  :data_source_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the user or group.

Returns:

  • (String)


7703
7704
7705
7706
7707
7708
7709
7710
# File 'lib/aws-sdk-kendra/types.rb', line 7703

class Principal < Struct.new(
  :name,
  :type,
  :access,
  :data_source_id)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of principal.

Returns:

  • (String)


7703
7704
7705
7706
7707
7708
7709
7710
# File 'lib/aws-sdk-kendra/types.rb', line 7703

class Principal < Struct.new(
  :name,
  :type,
  :access,
  :data_source_id)
  SENSITIVE = []
  include Aws::Structure
end