Interface ServiceDiscoveryConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ServiceDiscoveryConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:10.171Z") @Stability(Stable) public interface ServiceDiscoveryConfig extends software.amazon.jsii.JsiiSerializable
Properties for VirtualNode Service Discovery.

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.*;
 ServiceDiscoveryConfig serviceDiscoveryConfig = ServiceDiscoveryConfig.builder()
         .cloudmap(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();