Class: Aws::MigrationHubConfig::Types::Target

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

Overview

Note:

When making an API call, you may pass Target data as a hash:

{
  type: "ACCOUNT", # required, accepts ACCOUNT
  id: "TargetId",
}

The target parameter specifies the identifier to which the home region is applied, which is always an ACCOUNT. It applies the home region to the current ACCOUNT.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The TargetID is a 12-character identifier of the ACCOUNT for which the control was created. (This must be the current account.)

Returns:

  • (String)


280
281
282
283
284
285
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 280

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

#typeString

The target type is always an ACCOUNT.

Returns:

  • (String)


280
281
282
283
284
285
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 280

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