class Aws::Kendra::Types::Principal

Provides user and group information for document access filtering.

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

data as a hash:

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

@!attribute [rw] name

The name of the user or group.
@return [String]

@!attribute [rw] type

The type of principal.
@return [String]

@!attribute [rw] access

Whether to allow or deny access to the principal.
@return [String]

@!attribute [rw] data_source_id

The identifier of the data source the principal should access
documents from.
@return [String]

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

Constants

SENSITIVE