Interface ServiceDiscoveryConfig

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:12.596Z") @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();