Interface CfnVirtualNodePropsMixin.ServiceDiscoveryProperty

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

@Stability(Stable) public static interface CfnVirtualNodePropsMixin.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.cfnpropertymixins.services.appmesh.*;
 ServiceDiscoveryProperty serviceDiscoveryProperty = ServiceDiscoveryProperty.builder()
         .awsCloudMap(AwsCloudMapServiceDiscoveryProperty.builder()
                 .attributes(List.of(AwsCloudMapInstanceAttributeProperty.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .ipPreference("ipPreference")
                 .namespaceName("namespaceName")
                 .serviceName("serviceName")
                 .build())
         .dns(DnsServiceDiscoveryProperty.builder()
                 .hostname("hostname")
                 .ipPreference("ipPreference")
                 .responseType("responseType")
                 .build())
         .build();
 

See Also: