AwsCloudMapServiceDiscovery
An object that represents the AWS Cloud Map service discovery information for your virtual node.
Note
AWS Cloud Map is not available in the eu-south-1 Region.
Contents
- namespaceName
-
The HTTP name of the AWS Cloud Map namespace to use.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: Yes
- serviceName
-
The name of the AWS 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 AWS SDKs, see the following: