pub struct LaunchTemplateInstanceNetworkInterfaceSpecification {Show 13 fields
pub associate_public_ip_address: Option<bool>,
pub delete_on_termination: Option<bool>,
pub description: Option<String>,
pub device_index: Option<i64>,
pub groups: Option<Vec<String>>,
pub interface_type: Option<String>,
pub ipv_6_address_count: Option<i64>,
pub ipv_6_addresses: Option<Vec<InstanceIpv6Address>>,
pub network_interface_id: Option<String>,
pub private_ip_address: Option<String>,
pub private_ip_addresses: Option<Vec<PrivateIpAddressSpecification>>,
pub secondary_private_ip_address_count: Option<i64>,
pub subnet_id: Option<String>,
}
Expand description
Describes a network interface.
Fields§
§associate_public_ip_address: Option<bool>
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
delete_on_termination: Option<bool>
Indicates whether the network interface is deleted when the instance is terminated.
description: Option<String>
A description for the network interface.
device_index: Option<i64>
The device index for the network interface attachment.
groups: Option<Vec<String>>
The IDs of one or more security groups.
interface_type: Option<String>
The type of network interface.
ipv_6_address_count: Option<i64>
The number of IPv6 addresses for the network interface.
ipv_6_addresses: Option<Vec<InstanceIpv6Address>>
The IPv6 addresses for the network interface.
network_interface_id: Option<String>
The ID of the network interface.
private_ip_address: Option<String>
The primary private IPv4 address of the network interface.
private_ip_addresses: Option<Vec<PrivateIpAddressSpecification>>
One or more private IPv4 addresses.
secondary_private_ip_address_count: Option<i64>
The number of secondary private IPv4 addresses for the network interface.
subnet_id: Option<String>
The ID of the subnet for the network interface.
Trait Implementations§
Source§impl Clone for LaunchTemplateInstanceNetworkInterfaceSpecification
impl Clone for LaunchTemplateInstanceNetworkInterfaceSpecification
Source§fn clone(&self) -> LaunchTemplateInstanceNetworkInterfaceSpecification
fn clone(&self) -> LaunchTemplateInstanceNetworkInterfaceSpecification
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for LaunchTemplateInstanceNetworkInterfaceSpecification
impl Default for LaunchTemplateInstanceNetworkInterfaceSpecification
Source§fn default() -> LaunchTemplateInstanceNetworkInterfaceSpecification
fn default() -> LaunchTemplateInstanceNetworkInterfaceSpecification
Returns the “default value” for a type. Read more
Source§impl PartialEq for LaunchTemplateInstanceNetworkInterfaceSpecification
impl PartialEq for LaunchTemplateInstanceNetworkInterfaceSpecification
Source§fn eq(
&self,
other: &LaunchTemplateInstanceNetworkInterfaceSpecification,
) -> bool
fn eq( &self, other: &LaunchTemplateInstanceNetworkInterfaceSpecification, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for LaunchTemplateInstanceNetworkInterfaceSpecification
Auto Trait Implementations§
impl Freeze for LaunchTemplateInstanceNetworkInterfaceSpecification
impl RefUnwindSafe for LaunchTemplateInstanceNetworkInterfaceSpecification
impl Send for LaunchTemplateInstanceNetworkInterfaceSpecification
impl Sync for LaunchTemplateInstanceNetworkInterfaceSpecification
impl Unpin for LaunchTemplateInstanceNetworkInterfaceSpecification
impl UnwindSafe for LaunchTemplateInstanceNetworkInterfaceSpecification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more