Class: Aws::ComputeOptimizerAutomation::Types::OrganizationTarget

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

Overview

Note:

OrganizationTarget is a union - when making an API calls you must set exactly one of the members.

An account, organizational unit (OU), or organization root to which an organization enrollment configuration applies. The management account can't be specified as an account target.

Defined Under Namespace

Classes: AccountId, OrganizationalUnitId, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The ID of the member account to target. You can't specify the management account.

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1990

class OrganizationTarget < Struct.new(
  :account_id,
  :organizational_unit_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountId < OrganizationTarget; end
  class OrganizationalUnitId < OrganizationTarget; end
  class Unknown < OrganizationTarget; end
end

#organizational_unit_id ⇒ String

The ID of the organizational unit (OU) or organization root to target.

Returns:

  • (String)


1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1990

class OrganizationTarget < Struct.new(
  :account_id,
  :organizational_unit_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountId < OrganizationTarget; end
  class OrganizationalUnitId < OrganizationTarget; end
  class Unknown < OrganizationTarget; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1990
1991
1992
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 1990

def unknown
  @unknown
end