AWS::AppMesh::VirtualNode AwsCloudMapServiceDiscovery - Amazon CloudFormation
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).

AWS::AppMesh::VirtualNode 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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Attributes" : [ AwsCloudMapInstanceAttribute, ... ], "IpPreference" : String, "NamespaceName" : String, "ServiceName" : String }

Properties

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.

Required: No

Type: Array of AwsCloudMapInstanceAttribute

Update requires: No interruption

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.

Required: No

Type: String

Allowed values: IPv6_PREFERRED | IPv4_PREFERRED | IPv4_ONLY | IPv6_ONLY

Update requires: No interruption

NamespaceName

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

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

ServiceName

The name of the Amazon Cloud Map service to use.

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption