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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-organizations/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.

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 lower-case letters or 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.

Returns:

  • (String)


2403
2404
2405
2406
2407
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2403

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

#typeString

The type of the parent entity.

Returns:

  • (String)


2403
2404
2405
2406
2407
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2403

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