Class: Aws::MigrationHubConfig::Types::HomeRegionControl

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

Overview

A home region control is an object that specifies the home region for an account, with some additional information. It contains a target (always of type ACCOUNT), an ID, and a time at which the home region was set.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#control_idString

A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.

Returns:

  • (String)


198
199
200
201
202
203
204
205
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 198

class HomeRegionControl < Struct.new(
  :control_id,
  :home_region,
  :target,
  :requested_time)
  SENSITIVE = []
  include Aws::Structure
end

#home_regionString

The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.

Returns:

  • (String)


198
199
200
201
202
203
204
205
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 198

class HomeRegionControl < Struct.new(
  :control_id,
  :home_region,
  :target,
  :requested_time)
  SENSITIVE = []
  include Aws::Structure
end

#requested_timeTime

A timestamp representing the time when the customer called CreateHomeregionControl and set the home region for the account.

Returns:

  • (Time)


198
199
200
201
202
203
204
205
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 198

class HomeRegionControl < Struct.new(
  :control_id,
  :home_region,
  :target,
  :requested_time)
  SENSITIVE = []
  include Aws::Structure
end

#targetTypes::Target

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.

Returns:



198
199
200
201
202
203
204
205
# File 'gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/types.rb', line 198

class HomeRegionControl < Struct.new(
  :control_id,
  :home_region,
  :target,
  :requested_time)
  SENSITIVE = []
  include Aws::Structure
end