AwsCloudMapServiceDiscovery - Amazon App Mesh
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsCloudMapServiceDiscovery

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

Note

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

Contents

namespaceName

The HTTP name of the Amazon Cloud Map namespace to use.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

serviceName

The name of the Amazon Cloud Map service to use.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

attributes

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.

Type: Array of AwsCloudMapInstanceAttribute objects

Required: No

ipPreference

The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.

Type: String

Valid Values: IPv6_PREFERRED | IPv4_PREFERRED | IPv4_ONLY | IPv6_ONLY

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: