AWS App Mesh
API Reference (API Version 2019-01-25)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AwsCloudMapServiceDiscovery

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

Contents

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

namespaceName

The name of the AWS Cloud Map namespace to use.

Type: String

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

Pattern: ((?=^.{1,127}$)^([a-zA-Z0-9_][a-zA-Z0-9-_]{0,61}[a-zA-Z0-9_]|[a-zA-Z0-9])(.([a-zA-Z0-9_][a-zA-Z0-9-_]{0,61}[a-zA-Z0-9_]|[a-zA-Z0-9]))*$)|(^.$)

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.

Pattern: ((?=^.{1,127}$)^([a-zA-Z0-9_][a-zA-Z0-9-_]{0,61}[a-zA-Z0-9_]|[a-zA-Z0-9])(.([a-zA-Z0-9_][a-zA-Z0-9-_]{0,61}[a-zA-Z0-9_]|[a-zA-Z0-9]))*$)|(^.$)

Required: Yes

See Also

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

On this page: