Interface CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Jsii$Proxy
- Enclosing class:
- CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; AwsCloudMapServiceDiscoveryProperty awsCloudMapServiceDiscoveryProperty = AwsCloudMapServiceDiscoveryProperty.builder() .namespaceName("namespaceName") .serviceName("serviceName") // the properties below are optional .attributes(List.of(AwsCloudMapInstanceAttributeProperty.builder() .key("key") .value("value") .build())) .ipPreference("ipPreference") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualNode.AwsCloudMapServiceDiscoveryProperty
static final class
An implementation forCfnVirtualNode.AwsCloudMapServiceDiscoveryProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
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.default String
The preferred IP version that this virtual node uses.The HTTP name of the AWS Cloud Map namespace to use.The name of the AWS Cloud Map service to use.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespaceName
The HTTP name of the AWS Cloud Map namespace to use. -
getServiceName
The name of the AWS Cloud Map service to use. -
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
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
-