IpPreference Enum
Enum of supported IP preferences.
Used to dictate the IP version for mesh wide and virtual node service discovery. Also used to specify the IP version that a sidecar Envoy uses when sending traffic to a local application.
Example
ts
const mesh = new appmesh.Mesh(this, 'AppMesh', {
meshName: 'myAwsMesh',
serviceDiscovery: {
ipPreference: appmesh.IpPreference.IPV4_ONLY,
},
});
Members
| Member | Description |
|---|---|
IPV4_ONLY | Use IPv4 when sending traffic to a local application. |
IPV4_PREFERRED | Use IPv4 when sending traffic to a local application. |
IPV6_ONLY | Use IPv6 when sending traffic to a local application. |
IPV6_PREFERRED | Use IPv6 when sending traffic to a local application. |
Referenced by
MeshServiceDiscovery.ipPreferenceip_preferenceipPreferenceIpPreferenceIpPreference