Struct aws_sdk_ec2::types::NetworkInfo
source · #[non_exhaustive]pub struct NetworkInfo {Show 13 fields
pub network_performance: Option<String>,
pub maximum_network_interfaces: Option<i32>,
pub maximum_network_cards: Option<i32>,
pub default_network_card_index: Option<i32>,
pub network_cards: Option<Vec<NetworkCardInfo>>,
pub ipv4_addresses_per_interface: Option<i32>,
pub ipv6_addresses_per_interface: Option<i32>,
pub ipv6_supported: Option<bool>,
pub ena_support: Option<EnaSupport>,
pub efa_supported: Option<bool>,
pub efa_info: Option<EfaInfo>,
pub encryption_in_transit_supported: Option<bool>,
pub ena_srd_supported: Option<bool>,
}
Expand description
Describes the networking features of the instance type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.network_performance: Option<String>
The network performance.
maximum_network_interfaces: Option<i32>
The maximum number of network interfaces for the instance type.
maximum_network_cards: Option<i32>
The maximum number of physical network cards that can be allocated to the instance.
default_network_card_index: Option<i32>
The index of the default network card, starting at 0.
network_cards: Option<Vec<NetworkCardInfo>>
Describes the network cards for the instance type.
ipv4_addresses_per_interface: Option<i32>
The maximum number of IPv4 addresses per network interface.
ipv6_addresses_per_interface: Option<i32>
The maximum number of IPv6 addresses per network interface.
ipv6_supported: Option<bool>
Indicates whether IPv6 is supported.
ena_support: Option<EnaSupport>
Indicates whether Elastic Network Adapter (ENA) is supported.
efa_supported: Option<bool>
Indicates whether Elastic Fabric Adapter (EFA) is supported.
efa_info: Option<EfaInfo>
Describes the Elastic Fabric Adapters for the instance type.
encryption_in_transit_supported: Option<bool>
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
ena_srd_supported: Option<bool>
Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
Implementations§
source§impl NetworkInfo
impl NetworkInfo
sourcepub fn network_performance(&self) -> Option<&str>
pub fn network_performance(&self) -> Option<&str>
The network performance.
sourcepub fn maximum_network_interfaces(&self) -> Option<i32>
pub fn maximum_network_interfaces(&self) -> Option<i32>
The maximum number of network interfaces for the instance type.
sourcepub fn maximum_network_cards(&self) -> Option<i32>
pub fn maximum_network_cards(&self) -> Option<i32>
The maximum number of physical network cards that can be allocated to the instance.
sourcepub fn default_network_card_index(&self) -> Option<i32>
pub fn default_network_card_index(&self) -> Option<i32>
The index of the default network card, starting at 0.
sourcepub fn network_cards(&self) -> Option<&[NetworkCardInfo]>
pub fn network_cards(&self) -> Option<&[NetworkCardInfo]>
Describes the network cards for the instance type.
sourcepub fn ipv4_addresses_per_interface(&self) -> Option<i32>
pub fn ipv4_addresses_per_interface(&self) -> Option<i32>
The maximum number of IPv4 addresses per network interface.
sourcepub fn ipv6_addresses_per_interface(&self) -> Option<i32>
pub fn ipv6_addresses_per_interface(&self) -> Option<i32>
The maximum number of IPv6 addresses per network interface.
sourcepub fn ipv6_supported(&self) -> Option<bool>
pub fn ipv6_supported(&self) -> Option<bool>
Indicates whether IPv6 is supported.
sourcepub fn ena_support(&self) -> Option<&EnaSupport>
pub fn ena_support(&self) -> Option<&EnaSupport>
Indicates whether Elastic Network Adapter (ENA) is supported.
sourcepub fn efa_supported(&self) -> Option<bool>
pub fn efa_supported(&self) -> Option<bool>
Indicates whether Elastic Fabric Adapter (EFA) is supported.
sourcepub fn efa_info(&self) -> Option<&EfaInfo>
pub fn efa_info(&self) -> Option<&EfaInfo>
Describes the Elastic Fabric Adapters for the instance type.
sourcepub fn encryption_in_transit_supported(&self) -> Option<bool>
pub fn encryption_in_transit_supported(&self) -> Option<bool>
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
sourcepub fn ena_srd_supported(&self) -> Option<bool>
pub fn ena_srd_supported(&self) -> Option<bool>
Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
source§impl NetworkInfo
impl NetworkInfo
sourcepub fn builder() -> NetworkInfoBuilder
pub fn builder() -> NetworkInfoBuilder
Creates a new builder-style object to manufacture NetworkInfo
.
Trait Implementations§
source§impl Clone for NetworkInfo
impl Clone for NetworkInfo
source§fn clone(&self) -> NetworkInfo
fn clone(&self) -> NetworkInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkInfo
impl Debug for NetworkInfo
source§impl PartialEq<NetworkInfo> for NetworkInfo
impl PartialEq<NetworkInfo> for NetworkInfo
source§fn eq(&self, other: &NetworkInfo) -> bool
fn eq(&self, other: &NetworkInfo) -> bool
self
and other
values to be equal, and is used
by ==
.