public static interface CfnVirtualNode.ServiceDiscoveryProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVirtualNode.ServiceDiscoveryProperty.Builder
A builder for
CfnVirtualNode.ServiceDiscoveryProperty |
static class |
CfnVirtualNode.ServiceDiscoveryProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.ServiceDiscoveryProperty |
Modifier and Type | Method and Description |
---|---|
static CfnVirtualNode.ServiceDiscoveryProperty.Builder |
builder() |
default java.lang.Object |
getAwsCloudMap()
Specifies any AWS Cloud Map information for the virtual node.
|
default java.lang.Object |
getDns()
Specifies the DNS information for the virtual node.
|
default java.lang.Object getAwsCloudMap()
default java.lang.Object getDns()
static CfnVirtualNode.ServiceDiscoveryProperty.Builder builder()