Skip to content

ClusterNetworkInterface

Source code in docs_src/capo_sagemaker/types/cluster_network_interface.py
class ClusterNetworkInterface(TypedDict, closed=True):
    interface_type: NotRequired[
        "capo_sagemaker.types.cluster_interface_type.ClusterInterfaceType"
    ]
    """<p>The type of network interface for the instance group. Valid values:</p> <ul> <li> <p> <code>efa</code> – An EFA with ENA interface, which provides both the EFA device for low-latency, high-throughput communication and the ENA device for IP networking.</p> </li> <li> <p> <code>efa-only</code> – An EFA-only interface, which provides only the EFA device capabilities without the ENA device for traditional IP networking.</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a>.</p>"""

interface_type instance-attribute

interface_type: NotRequired[ClusterInterfaceType]

The type of network interface for the instance group. Valid values:

  • efa – An EFA with ENA interface, which provides both the EFA device for low-latency, high-throughput communication and the ENA device for IP networking.

  • efa-only – An EFA-only interface, which provides only the EFA device capabilities without the ENA device for traditional IP networking.

For more information, see Elastic Fabric Adapter.