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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-organizations/types.rb

Overview

Contains information about an Amazon Web Services account that is a member of an organization.

Constant Summary collapse

SENSITIVE =
[:email, :name]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the account.

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

[1]: docs.aws.amazon.com/service-authorization/latest/reference/list_awsorganizations.html#awsorganizations-resources-for-iam-policies

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end

#emailString

The email address associated with the Amazon Web Services account.

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

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end

#idString

The unique identifier (ID) of the account.

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

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end

#joined_methodString

The method by which the account joined the organization.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end

#joined_timestampTime

The date the account became a part of the organization.

Returns:

  • (Time)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end

#nameString

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.

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end

#statusString

The status of the account in the organization.

Returns:

  • (String)


161
162
163
164
165
166
167
168
169
170
171
# File 'lib/aws-sdk-organizations/types.rb', line 161

class Account < Struct.new(
  :id,
  :arn,
  :email,
  :name,
  :status,
  :joined_method,
  :joined_timestamp)
  SENSITIVE = [:email, :name]
  include Aws::Structure
end