You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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 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 representing 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.



3301
3302
3303
3304
3305
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3301

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

#dnsTypes::DnsServiceDiscovery

Specifies the DNS information for the virtual node.



3301
3302
3303
3304
3305
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3301

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