Class: Aws::MigrationHub::Types::ResourceAttribute
- Inherits:
-
Struct
- Object
- Struct
- Aws::MigrationHub::Types::ResourceAttribute
- 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
value: "ResourceAttributeValue", # required
}
Attribute associated with a resource.
Note the corresponding format required per type listed below:
- IPV4
x.x.x.x
where x is an integer in the range [0,255]
- IPV6
y : y : y : y : y : y : y : y
where y is a hexadecimal between 0 and FFFF. [0, FFFF]
- MAC_ADDRESS
^([0-9A-Fa-f]\{2\}[:-])\{5\}([0-9A-Fa-f]\{2\})$
- FQDN
^[^<>\{\}\\\\/?,=\\p\{Cntrl\}]\{1,256\}$
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
Type of resource.
-
#value ⇒ String
Value of the resource type.
Instance Attribute Details
#type ⇒ String
Type of resource.
1130 1131 1132 1133 1134 1135 |
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 1130 class ResourceAttribute < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
Value of the resource type.
1130 1131 1132 1133 1134 1135 |
# File 'gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/types.rb', line 1130 class ResourceAttribute < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |