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
    },
  ],
  ip_preference: "IPv6_PREFERRED", # accepts IPv6_PREFERRED, IPv4_PREFERRED, IPv4_ONLY, IPv6_ONLY
  namespace_name: "AwsCloudMapName", # required
  service_name: "AwsCloudMapName", # required
}

An object that represents the Cloud Map service discovery information for your virtual node.

Cloud Map is not available in the eu-south-1 Region.

Constant Summary collapse

SENSITIVE =
[]

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.



116
117
118
119
120
121
122
123
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 116

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :ip_preference,
  :namespace_name,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#ip_preferenceString

The IP version to use to control traffic within the mesh.

Returns:

  • (String)


116
117
118
119
120
121
122
123
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 116

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :ip_preference,
  :namespace_name,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#namespace_nameString

The name of the Cloud Map namespace to use.

Returns:

  • (String)


116
117
118
119
120
121
122
123
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 116

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :ip_preference,
  :namespace_name,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end

#service_nameString

The name of the Cloud Map service to use.

Returns:

  • (String)


116
117
118
119
120
121
122
123
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 116

class AwsCloudMapServiceDiscovery < Struct.new(
  :attributes,
  :ip_preference,
  :namespace_name,
  :service_name)
  SENSITIVE = []
  include Aws::Structure
end