Interface ServiceDiscoveryConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceDiscoveryConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.171Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forServiceDiscoveryConfig
static final class
An implementation forServiceDiscoveryConfig
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudmap
@Stability(Stable) @Nullable default CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty getCloudmap()Cloud Map based Service Discovery.Default: - no Cloud Map based service discovery
-
getDns
DNS based Service Discovery.Default: - no DNS based service discovery
-
builder
- Returns:
- a
ServiceDiscoveryConfig.Builder
ofServiceDiscoveryConfig
-