public static interface CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Builder
A builder for
CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty |
static class |
CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty |
Modifier and Type | Method and Description |
---|---|
static CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Builder |
builder() |
default java.lang.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.
|
default java.lang.String |
getIpPreference()
The preferred IP version that this virtual node uses.
|
java.lang.String |
getNamespaceName()
The HTTP name of the AWS Cloud Map namespace to use.
|
java.lang.String |
getServiceName()
The name of the AWS Cloud Map service to use.
|
java.lang.String getNamespaceName()
java.lang.String getServiceName()
default java.lang.Object getAttributes()
Only instances that match all of the specified key/value pairs will be returned.
default java.lang.String getIpPreference()
Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.