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::CreateHomeRegionControlRequest

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

Overview

Note:

When passing CreateHomeRegionControlRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  home_region: "HomeRegion", # required
  target: { # required
    type: "ACCOUNT", # required, accepts ACCOUNT
    id: "TargetId",
  },
  dry_run: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Optional Boolean flag to indicate whether any effect should take place. It tests whether the caller has permission to make the call.

Returns:

  • (Boolean)

    Optional Boolean flag to indicate whether any effect should take place.

#home_regionString

The name of the home region of the calling account.

Returns:

  • (String)

    The name of the home region of the calling account.

#targetTypes::Target

The account for which this command sets up a home region control. The Target is always of type ACCOUNT.

Returns:

  • (Types::Target)

    The account for which this command sets up a home region control.