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

Class: Aws::AppMesh::Types::AwsCloudMapServiceDiscovery

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 AwsCloudMapServiceDiscovery data as a hash:

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

An object representing the AWS Cloud Map service discovery information for your virtual node.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::AwsCloudMapInstanceAttribute>

A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.



2728
2729
2730
2731
2732
2733
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2728

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :namespace_name,
  :service_name)
  include Aws::Structure
end

#namespace_nameString

The name of the AWS Cloud Map namespace to use.

Returns:

  • (String)


2728
2729
2730
2731
2732
2733
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2728

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :namespace_name,
  :service_name)
  include Aws::Structure
end

#service_nameString

The name of the AWS Cloud Map service to use.

Returns:

  • (String)


2728
2729
2730
2731
2732
2733
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2728

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :namespace_name,
  :service_name)
  include Aws::Structure
end