pub struct InstanceAttribute {Show 15 fields
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>,
}Expand description
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§
Source§impl Clone for InstanceAttribute
impl Clone for InstanceAttribute
Source§fn clone(&self) -> InstanceAttribute
fn clone(&self) -> InstanceAttribute
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more