Interface CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty extends
An object that represents the AWS Cloud Map service discovery information for your virtual node.

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


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 AwsCloudMapServiceDiscoveryProperty awsCloudMapServiceDiscoveryProperty = AwsCloudMapServiceDiscoveryProperty.builder()
         // the properties below are optional
  • Method Details

    • getNamespaceName

      @Stability(Stable) @NotNull String getNamespaceName()
      The HTTP name of the AWS Cloud Map namespace to use.
    • getServiceName

      @Stability(Stable) @NotNull String getServiceName()
      The name of the AWS Cloud Map service to use.
    • getAttributes

      @Stability(Stable) @Nullable default Object getAttributes()
      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.

    • getIpPreference

      @Stability(Stable) @Nullable default String getIpPreference()
      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.

    • builder

      a CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Builder of CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty