AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Target as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

    The TargetID is a 12-character identifier of the ACCOUNT for which the control was created.

#typeString

The target type is always an ACCOUNT.

Possible values:

  • ACCOUNT

Returns:

  • (String)

    The target type is always an ACCOUNT.