[][src]Struct rusoto_ec2::InstanceAttribute

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 PartialEq<InstanceAttribute> for InstanceAttribute[src]

impl Default for InstanceAttribute[src]

impl Clone for InstanceAttribute[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for InstanceAttribute[src]

Auto Trait Implementations

impl Send for InstanceAttribute

impl Sync for InstanceAttribute

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self