Class: Aws::Organizations::Types::OrganizationalUnit
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::OrganizationalUnit
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-organizations/types.rb
Overview
Contains details about an organizational unit (OU). An OU is a container of AWS 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.
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of this OU.
-
#id ⇒ String
The unique identifier (ID) associated with this OU.
-
#name ⇒ String
The friendly name of this OU.
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 *AWS Organizations User Guide*.
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_permissions.html#orgs-permissions-arns
2522 2523 2524 2525 2526 2527 |
# File 'lib/aws-sdk-organizations/types.rb', line 2522 class OrganizationalUnit < Struct.new( :id, :arn, :name) include Aws::Structure end |
#id ⇒ String
The unique identifier (ID) associated with this OU.
The [regex pattern] for an organizational unit ID string requires “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.
2522 2523 2524 2525 2526 2527 |
# File 'lib/aws-sdk-organizations/types.rb', line 2522 class OrganizationalUnit < Struct.new( :id, :arn, :name) 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.
2522 2523 2524 2525 2526 2527 |
# File 'lib/aws-sdk-organizations/types.rb', line 2522 class OrganizationalUnit < Struct.new( :id, :arn, :name) include Aws::Structure end |