Class: Aws::Organizations::Types::Child

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

Overview

Contains a list of child entities, either OUs or accounts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The unique identifier (ID) of this child entity.

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

  • Account - A string that consists of exactly 12 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 contains the OU). 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)

380
381
382
383
384
385
# File 'lib/aws-sdk-organizations/types.rb', line 380

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

#typeString

The type of this child entity.

Returns:

  • (String)

380
381
382
383
384
385
# File 'lib/aws-sdk-organizations/types.rb', line 380

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