Interface CfnVirtualNode.ServiceDiscoveryProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVirtualNode.ServiceDiscoveryProperty.Jsii$Proxy
Enclosing class:
CfnVirtualNode

@Stability(Stable) public static interface CfnVirtualNode.ServiceDiscoveryProperty extends software.amazon.jsii.JsiiSerializable
An object that represents the service discovery information for a virtual node.

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.*;
 ServiceDiscoveryProperty serviceDiscoveryProperty = ServiceDiscoveryProperty.builder()
         .awsCloudMap(AwsCloudMapServiceDiscoveryProperty.builder()
                 .namespaceName("namespaceName")
                 .serviceName("serviceName")
                 // the properties below are optional
                 .attributes(List.of(AwsCloudMapInstanceAttributeProperty.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .ipPreference("ipPreference")
                 .build())
         .dns(DnsServiceDiscoveryProperty.builder()
                 .hostname("hostname")
                 // the properties below are optional
                 .ipPreference("ipPreference")
                 .responseType("responseType")
                 .build())
         .build();
 

See Also: