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

PolicyTargetSummary

import type { PolicyTargetSummary } from "https://aws-api.deno.dev/v0.4/services/organizations.ts?docs=full";

Contains information about a root, OU, or account that a policy is attached to.

interface PolicyTargetSummary {
Arn?: string | null;
Name?: string | null;
TargetId?: string | null;
Type?: TargetType | null;
}

§Properties

§
Arn?: string | null
[src]

The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

§
Name?: string | null
[src]

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

§
TargetId?: string | null
[src]

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
  • Account - A string that consists of exactly 12 digits.
  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
§
Type?: TargetType | null
[src]

The type of the policy target.