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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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.



4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
# File 'lib/aws-sdk-appmesh/types.rb', line 4080

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.



4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
# File 'lib/aws-sdk-appmesh/types.rb', line 4080

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



4080
4081
4082
# File 'lib/aws-sdk-appmesh/types.rb', line 4080

def unknown
  @unknown
end