Class: Aws::AppMesh::Types::ServiceDiscovery

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

Overview

Note:

ServiceDiscovery is a union - when making an API calls you must set exactly one of the members.

Note:

ServiceDiscovery is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ServiceDiscovery corresponding to the set member.

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

Direct Known Subclasses

AwsCloudMap, Dns, Unknown

Defined Under Namespace

Classes: AwsCloudMap, Dns, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_cloud_mapTypes::AwsCloudMapServiceDiscovery

Specifies any Cloud Map information for the virtual node.



6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 6381

class ServiceDiscovery < Struct.new(
  :aws_cloud_map,
  :dns,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsCloudMap < ServiceDiscovery; end
  class Dns < ServiceDiscovery; end
  class Unknown < ServiceDiscovery; end
end

#dnsTypes::DnsServiceDiscovery

Specifies the DNS information for the virtual node.



6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 6381

class ServiceDiscovery < Struct.new(
  :aws_cloud_map,
  :dns,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsCloudMap < ServiceDiscovery; end
  class Dns < ServiceDiscovery; end
  class Unknown < ServiceDiscovery; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6381
6382
6383
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 6381

def unknown
  @unknown
end