Class: Aws::Organizations::Types::Parent

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

Overview

Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The unique identifier (ID) of the parent entity.

The [regex pattern] for a parent ID string requires one of the following:

  • Root - A string that begins with “r-” followed by from 4 to 32 lowercase letters or 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.

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
# File 'lib/aws-sdk-organizations/types.rb', line 3933

class Parent < Struct.new(
  :id,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the parent entity.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
# File 'lib/aws-sdk-organizations/types.rb', line 3933

class Parent < Struct.new(
  :id,
  :type)
  SENSITIVE = []
  include Aws::Structure
end