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

Class: Aws::MigrationHub::Types::ResourceAttribute

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

Overview

Note:

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

{
  type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER, LABEL
  value: "ResourceAttributeValue", # required
}

Attribute associated with a resource.

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

Type of resource.

Returns:

  • (String)


864
865
866
867
868
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 864

class ResourceAttribute < Struct.new(
  :type,
  :value)
  include Aws::Structure
end

#valueString

Value of the resource type.

Returns:

  • (String)


864
865
866
867
868
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 864

class ResourceAttribute < Struct.new(
  :type,
  :value)
  include Aws::Structure
end