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.4/services/lexmodelsv2.ts?docs=full";

The IAM principal that you allowing or denying access to an Amazon Lex action. You must provide a service or an arn, but not both in the same statement. For more information, see AWS JSON policy elements: Principal.

interface Principal {
arn?: string | null;
service?: string | null;
}

§Properties

§
arn?: string | null
[src]

The Amazon Resource Name (ARN) of the principal.

§
service?: string | null
[src]

The name of the AWS service that should allowed or denied access to an Amazon Lex action.