Struct rusoto_organizations::PolicyTargetSummary[][src]

pub struct PolicyTargetSummary {
    pub arn: Option<String>,
    pub name: Option<String>,
    pub target_id: Option<String>,
    pub type_: Option<String>,
}

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

Fields

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

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the AWS Organizations User Guide.

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.

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 lower-case 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 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

The type of the policy target.

Trait Implementations

impl Default for PolicyTargetSummary
[src]

Returns the "default value" for a type. Read more

impl Debug for PolicyTargetSummary
[src]

Formats the value using the given formatter. Read more

impl Clone for PolicyTargetSummary
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PolicyTargetSummary
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations