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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualNode.ServiceDiscoveryProperty
static final class
An implementation forCfnVirtualNode.ServiceDiscoveryProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsCloudMap
Specifies any AWS Cloud Map information for the virtual node.- See Also:
-
getDns
Specifies the DNS information for the virtual node.- See Also:
-
builder
-