Struct rusoto_ec2::InstanceAttribute [−][src]
pub struct InstanceAttribute { pub block_device_mappings: Option<Vec<InstanceBlockDeviceMapping>>, pub disable_api_termination: Option<AttributeBooleanValue>, pub ebs_optimized: Option<AttributeBooleanValue>, pub ena_support: Option<AttributeBooleanValue>, pub groups: Option<Vec<GroupIdentifier>>, pub instance_id: Option<String>, pub instance_initiated_shutdown_behavior: Option<AttributeValue>, pub instance_type: Option<AttributeValue>, pub kernel_id: Option<AttributeValue>, pub product_codes: Option<Vec<ProductCode>>, pub ramdisk_id: Option<AttributeValue>, pub root_device_name: Option<AttributeValue>, pub source_dest_check: Option<AttributeBooleanValue>, pub sriov_net_support: Option<AttributeValue>, pub user_data: Option<AttributeValue>, }
Describes an instance attribute.
Fields
block_device_mappings: Option<Vec<InstanceBlockDeviceMapping>>
The block device mapping of the instance.
disable_api_termination: Option<AttributeBooleanValue>
If the value is true
, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.
ebs_optimized: Option<AttributeBooleanValue>
Indicates whether the instance is optimized for Amazon EBS I/O.
ena_support: Option<AttributeBooleanValue>
Indicates whether enhanced networking with ENA is enabled.
groups: Option<Vec<GroupIdentifier>>
The security groups associated with the instance.
instance_id: Option<String>
The ID of the instance.
instance_initiated_shutdown_behavior: Option<AttributeValue>
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instance_type: Option<AttributeValue>
The instance type.
kernel_id: Option<AttributeValue>
The kernel ID.
product_codes: Option<Vec<ProductCode>>
A list of product codes.
ramdisk_id: Option<AttributeValue>
The RAM disk ID.
root_device_name: Option<AttributeValue>
The device name of the root device volume (for example, /dev/sda1
).
source_dest_check: Option<AttributeBooleanValue>
Indicates whether source/destination checking is enabled. A value of true
means that checking is enabled, and false
means that checking is disabled. This value must be false
for a NAT instance to perform NAT.
sriov_net_support: Option<AttributeValue>
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
user_data: Option<AttributeValue>
The user data.
Trait Implementations
impl Default for InstanceAttribute
[src]
impl Default for InstanceAttribute
fn default() -> InstanceAttribute
[src]
fn default() -> InstanceAttribute
Returns the "default value" for a type. Read more
impl Debug for InstanceAttribute
[src]
impl Debug for InstanceAttribute
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 InstanceAttribute
[src]
impl Clone for InstanceAttribute
fn clone(&self) -> InstanceAttribute
[src]
fn clone(&self) -> InstanceAttribute
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 InstanceAttribute
[src]
impl PartialEq for InstanceAttribute
fn eq(&self, other: &InstanceAttribute) -> bool
[src]
fn eq(&self, other: &InstanceAttribute) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InstanceAttribute) -> bool
[src]
fn ne(&self, other: &InstanceAttribute) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for InstanceAttribute
impl Send for InstanceAttribute
impl Sync for InstanceAttribute
impl Sync for InstanceAttribute