Class: Aws::AppMesh::Types::DnsServiceDiscovery

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

Overview

Note:

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

{
  hostname: "Hostname", # required
  ip_preference: "IPv6_PREFERRED", # accepts IPv6_PREFERRED, IPv4_PREFERRED, IPv4_ONLY, IPv6_ONLY
  response_type: "LOADBALANCER", # accepts LOADBALANCER, ENDPOINTS
}

An object that represents the DNS service discovery information for your virtual node.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hostnameString

Specifies the DNS service discovery hostname for the virtual node.

Returns:

  • (String)


2497
2498
2499
2500
2501
2502
2503
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2497

class DnsServiceDiscovery < Struct.new(
  :hostname,
  :ip_preference,
  :response_type)
  SENSITIVE = []
  include Aws::Structure
end

#ip_preferenceString

The IP version to use to control traffic within the mesh.

Returns:

  • (String)


2497
2498
2499
2500
2501
2502
2503
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2497

class DnsServiceDiscovery < Struct.new(
  :hostname,
  :ip_preference,
  :response_type)
  SENSITIVE = []
  include Aws::Structure
end

#response_typeString

Specifies the DNS response type for the virtual node.

Returns:

  • (String)


2497
2498
2499
2500
2501
2502
2503
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2497

class DnsServiceDiscovery < Struct.new(
  :hostname,
  :ip_preference,
  :response_type)
  SENSITIVE = []
  include Aws::Structure
end