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

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

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

Overview

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

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 lower-case letters or digits (the ID of the root that contains the OU) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.

Returns:

  • (String)


237
238
239
240
241
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 237

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

#typeString

The type of this child entity.

Returns:

  • (String)


237
238
239
240
241
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 237

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