IpPreference
- class aws_cdk.aws_appmesh.IpPreference(value)
Bases:
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.
- ExampleMetadata:
infused
Example:
# Example automatically generated from non-compiling source. May contain errors. mesh = appmesh.Mesh(self, "AppMesh", mesh_name="myAwsMesh", service_discovery=appmesh.MeshServiceDiscovery( ip_preference=appmesh.IpPreference.IPV4_ONLY ) )
Attributes
- IPV4_ONLY
Use IPv4 when sending traffic to a local application.
Only use IPv4 for service discovery.
- IPV4_PREFERRED
Use IPv4 when sending traffic to a local application.
First attempt to use IPv4 and fall back to IPv6 for service discovery.
- IPV6_ONLY
Use IPv6 when sending traffic to a local application.
Only use IPv6 for service discovery.
- IPV6_PREFERRED
Use IPv6 when sending traffic to a local application.
First attempt to use IPv6 and fall back to IPv4 for service discovery.