Show / Hide Table of Contents

Enum IpPreference

Enum of supported IP preferences.

Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum IpPreference
Syntax (vb)
Public Enum IpPreference
Remarks

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.

ExampleMetadata: infused

Examples
var mesh = new Mesh(this, "AppMesh", new MeshProps {
                 MeshName = "myAwsMesh",
                 ServiceDiscovery = new MeshServiceDiscovery {
                     IpPreference = IpPreference.IPV4_ONLY
                 }
             });

Synopsis

Fields

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.

Fields

Name 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.

Back to top Generated by DocFX