@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:34.416Z")
public interface ServiceDiscoveryConfig
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();
Modifier and Type | Interface and Description |
---|---|
static class |
ServiceDiscoveryConfig.Builder
A builder for
ServiceDiscoveryConfig |
static class |
ServiceDiscoveryConfig.Jsii$Proxy
An implementation for
ServiceDiscoveryConfig |
Modifier and Type | Method and Description |
---|---|
static ServiceDiscoveryConfig.Builder |
builder() |
default CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty |
getCloudmap()
Cloud Map based Service Discovery.
|
default CfnVirtualNode.DnsServiceDiscoveryProperty |
getDns()
DNS based Service Discovery.
|
default CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty getCloudmap()
Default: - no Cloud Map based service discovery
default CfnVirtualNode.DnsServiceDiscoveryProperty getDns()
Default: - no DNS based service discovery
static ServiceDiscoveryConfig.Builder builder()
ServiceDiscoveryConfig.Builder
of ServiceDiscoveryConfig