Struct rusoto_ec2::LaunchTemplateInstanceNetworkInterfaceSpecification [−][src]
pub struct LaunchTemplateInstanceNetworkInterfaceSpecification { 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 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>, }
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.
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
impl Default for LaunchTemplateInstanceNetworkInterfaceSpecification
[src]
impl Default for LaunchTemplateInstanceNetworkInterfaceSpecification
fn default() -> LaunchTemplateInstanceNetworkInterfaceSpecification
[src]
fn default() -> LaunchTemplateInstanceNetworkInterfaceSpecification
Returns the "default value" for a type. Read more
impl Debug for LaunchTemplateInstanceNetworkInterfaceSpecification
[src]
impl Debug for LaunchTemplateInstanceNetworkInterfaceSpecification
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for LaunchTemplateInstanceNetworkInterfaceSpecification
[src]
impl Clone for LaunchTemplateInstanceNetworkInterfaceSpecification
fn clone(&self) -> LaunchTemplateInstanceNetworkInterfaceSpecification
[src]
fn clone(&self) -> LaunchTemplateInstanceNetworkInterfaceSpecification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for LaunchTemplateInstanceNetworkInterfaceSpecification
[src]
impl PartialEq for LaunchTemplateInstanceNetworkInterfaceSpecification
fn eq(
&self,
other: &LaunchTemplateInstanceNetworkInterfaceSpecification
) -> bool
[src]
fn eq(
&self,
other: &LaunchTemplateInstanceNetworkInterfaceSpecification
) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(
&self,
other: &LaunchTemplateInstanceNetworkInterfaceSpecification
) -> bool
[src]
fn ne(
&self,
other: &LaunchTemplateInstanceNetworkInterfaceSpecification
) -> bool
This method tests for !=
.