@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.567Z") @Stability(value=Stable) public interface MeshServiceDiscovery extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
Mesh mesh = Mesh.Builder.create(this, "AppMesh")
.meshName("myAwsMesh")
.serviceDiscovery(MeshServiceDiscovery.builder()
.ipPreference(IpPreference.IPV4_ONLY)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MeshServiceDiscovery.Builder
A builder for
MeshServiceDiscovery |
static class |
MeshServiceDiscovery.Jsii$Proxy
An implementation for
MeshServiceDiscovery |
| Modifier and Type | Method and Description |
|---|---|
static MeshServiceDiscovery.Builder |
builder() |
default IpPreference |
getIpPreference()
IP preference applied to all Virtual Nodes in the Mesh.
|
@Stability(value=Stable) @Nullable default IpPreference getIpPreference()
Default: - No IP preference is applied to any of the Virtual Nodes in the Mesh. Virtual Nodes without an IP preference will have the following configured. Envoy listeners are configured to bind only to IPv4. Envoy will use IPv4 when sending traffic to a local application. For DNS service discovery, the Envoy DNS resolver to prefer using IPv6 and fall back to IPv4. For CloudMap service discovery, App Mesh will prefer using IPv4 and fall back to IPv6 for IPs returned by CloudMap.
@Stability(value=Stable) static MeshServiceDiscovery.Builder builder()
MeshServiceDiscovery.Builder of MeshServiceDiscoveryCopyright © 2022. All rights reserved.