Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Principal

import type { Principal } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";

Provides user and group information for document access filtering.

interface Principal {
DataSourceId?: string | null;
Name: string;
}

§Properties

§

Whether to allow or deny access to the principal.

§
DataSourceId?: string | null
[src]

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

§
Name: string
[src]

The name of the user or group.

§

The type of principal.