Class: Aws::Organizations::Types::OrganizationalUnit

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

Overview

Contains details about an organizational unit (OU). An OU is a container of Amazon Web Services accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of this OU.

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

Returns:

  • (String)


4659
4660
4661
4662
4663
4664
4665
4666
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4659

class OrganizationalUnit < Struct.new(
  :id,
  :arn,
  :name,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The unique identifier (ID) associated with this OU. The ID is unique to the organization only.

The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Returns:

  • (String)


4659
4660
4661
4662
4663
4664
4665
4666
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4659

class OrganizationalUnit < Struct.new(
  :id,
  :arn,
  :name,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The friendly name of this OU.

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)


4659
4660
4661
4662
4663
4664
4665
4666
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4659

class OrganizationalUnit < Struct.new(
  :id,
  :arn,
  :name,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#path ⇒ String

The path in the organization where this OU exists.

Returns:

  • (String)


4659
4660
4661
4662
4663
4664
4665
4666
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 4659

class OrganizationalUnit < Struct.new(
  :id,
  :arn,
  :name,
  :path)
  SENSITIVE = []
  include Aws::Structure
end