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

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

Overview

Note:

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

{
  aws_cloud_map: {
    attributes: [
      {
        key: "AwsCloudMapInstanceAttributeKey", # required
        value: "AwsCloudMapInstanceAttributeValue", # required
      },
    ],
    namespace_name: "AwsCloudMapName", # required
    service_name: "AwsCloudMapName", # required
  },
  dns: {
    hostname: "Hostname", # required
  },
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#aws_cloud_mapTypes::AwsCloudMapServiceDiscovery

Specifies any AWS Cloud Map information for the virtual node.



3842
3843
3844
3845
3846
# File 'lib/aws-sdk-appmesh/types.rb', line 3842

class ServiceDiscovery < Struct.new(
  :aws_cloud_map,
  :dns)
  include Aws::Structure
end

#dnsTypes::DnsServiceDiscovery

Specifies the DNS information for the virtual node.



3842
3843
3844
3845
3846
# File 'lib/aws-sdk-appmesh/types.rb', line 3842

class ServiceDiscovery < Struct.new(
  :aws_cloud_map,
  :dns)
  include Aws::Structure
end