You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Organizations::Types::Account

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about an AWS account that is a member of an organization.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the account.

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

Returns:

  • (String) —

    The Amazon Resource Name (ARN) of the account.

#email ⇒ String

The email address associated with the AWS account.

The regex pattern for this parameter is a string of characters that represents a standard internet email address.

Returns:

  • (String) —

    The email address associated with the AWS account.

#id ⇒ String

The unique identifier (ID) of the account.

The regex pattern for an account ID string requires exactly 12 digits.

Returns:

  • (String) —

    The unique identifier (ID) of the account.

#joined_method ⇒ String

The method by which the account joined the organization.

Possible values:

  • INVITED
  • CREATED

Returns:

  • (String) —

    The method by which the account joined the organization.

#joined_timestamp ⇒ Time

The date the account became a part of the organization.

Returns:

  • (Time) —

    The date the account became a part of the organization.

#name ⇒ String

The friendly name of the account.

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

Returns:

  • (String) —

    The friendly name of the account.

#status ⇒ String

The status of the account in the organization.

Possible values:

  • ACTIVE
  • SUSPENDED

Returns:

  • (String) —

    The status of the account in the organization.