Class: Aws::ComputeOptimizerAutomation::Types::OrganizationConfiguration

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

Overview

Configuration settings that define the scope of an organization-wide automation rule. Each organizational unit (OU) list can contain up to 150 OUs or organization roots, and each account list can contain up to 50 accounts. Each included OU or organization root must have an effective organization rule mode of AnyAllowed. Exclusions take precedence over inclusions. An account that is in an included OU and is also excluded is excluded. The rule doesn't apply to the management account when the account is reached through an OU or the organization root.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_ids ⇒ Array<String>

The specific Amazon Web Services account IDs where the organization rule should be applied. You can specify up to 50 account IDs.

Returns:

  • (Array<String>)


1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1864

class OrganizationConfiguration < Struct.new(
  :rule_apply_order,
  :account_ids,
  :organizational_unit_ids,
  :excluded_organizational_unit_ids,
  :excluded_account_ids)
  SENSITIVE = []
  include Aws::Structure
end

#excluded_account_ids ⇒ Array<String>

The Amazon Web Services account IDs to exclude from the organization rule scope. You can specify up to 50 account IDs. An excluded account remains excluded even if it is in an included OU.

Returns:

  • (Array<String>)


1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1864

class OrganizationConfiguration < Struct.new(
  :rule_apply_order,
  :account_ids,
  :organizational_unit_ids,
  :excluded_organizational_unit_ids,
  :excluded_account_ids)
  SENSITIVE = []
  include Aws::Structure
end

#excluded_organizational_unit_ids ⇒ Array<String>

The organizational unit (OU) or organization root IDs to exclude from the organization rule scope. The rule doesn't apply to accounts in the specified OUs or their child OUs. You can specify up to 150 IDs.

Returns:

  • (Array<String>)


1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1864

class OrganizationConfiguration < Struct.new(
  :rule_apply_order,
  :account_ids,
  :organizational_unit_ids,
  :excluded_organizational_unit_ids,
  :excluded_account_ids)
  SENSITIVE = []
  include Aws::Structure
end

#organizational_unit_ids ⇒ Array<String>

The organizational unit (OU) or organization root IDs to include in the organization rule scope. The rule applies to accounts in the specified OUs and their child OUs. You can specify up to 150 IDs.

Returns:

  • (Array<String>)


1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1864

class OrganizationConfiguration < Struct.new(
  :rule_apply_order,
  :account_ids,
  :organizational_unit_ids,
  :excluded_organizational_unit_ids,
  :excluded_account_ids)
  SENSITIVE = []
  include Aws::Structure
end

#rule_apply_order ⇒ String

Specifies when organization rules should be applied relative to account rules.

Returns:

  • (String)


1864
1865
1866
1867
1868
1869
1870
1871
1872
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1864

class OrganizationConfiguration < Struct.new(
  :rule_apply_order,
  :account_ids,
  :organizational_unit_ids,
  :excluded_organizational_unit_ids,
  :excluded_account_ids)
  SENSITIVE = []
  include Aws::Structure
end