[][src]Struct rusoto_ec2::Instance

pub struct Instance {
    pub ami_launch_index: Option<i64>,
    pub architecture: Option<String>,
    pub block_device_mappings: Option<Vec<InstanceBlockDeviceMapping>>,
    pub client_token: Option<String>,
    pub cpu_options: Option<CpuOptions>,
    pub ebs_optimized: Option<bool>,
    pub elastic_gpu_associations: Option<Vec<ElasticGpuAssociation>>,
    pub ena_support: Option<bool>,
    pub hypervisor: Option<String>,
    pub iam_instance_profile: Option<IamInstanceProfile>,
    pub image_id: Option<String>,
    pub instance_id: Option<String>,
    pub instance_lifecycle: Option<String>,
    pub instance_type: Option<String>,
    pub kernel_id: Option<String>,
    pub key_name: Option<String>,
    pub launch_time: Option<String>,
    pub monitoring: Option<Monitoring>,
    pub network_interfaces: Option<Vec<InstanceNetworkInterface>>,
    pub placement: Option<Placement>,
    pub platform: Option<String>,
    pub private_dns_name: Option<String>,
    pub private_ip_address: Option<String>,
    pub product_codes: Option<Vec<ProductCode>>,
    pub public_dns_name: Option<String>,
    pub public_ip_address: Option<String>,
    pub ramdisk_id: Option<String>,
    pub root_device_name: Option<String>,
    pub root_device_type: Option<String>,
    pub security_groups: Option<Vec<GroupIdentifier>>,
    pub source_dest_check: Option<bool>,
    pub spot_instance_request_id: Option<String>,
    pub sriov_net_support: Option<String>,
    pub state: Option<InstanceState>,
    pub state_reason: Option<StateReason>,
    pub state_transition_reason: Option<String>,
    pub subnet_id: Option<String>,
    pub tags: Option<Vec<Tag>>,
    pub virtualization_type: Option<String>,
    pub vpc_id: Option<String>,
}

Describes an instance.

Fields

The AMI launch index, which can be used to find this instance in the launch group.

The architecture of the image.

Any block device mapping entries for the instance.

The idempotency token you provided when you launched the instance, if applicable.

The CPU options for the instance.

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

The Elastic GPU associated with the instance.

Specifies whether enhanced networking with ENA is enabled.

The hypervisor type of the instance.

The IAM instance profile associated with the instance, if applicable.

The ID of the AMI used to launch the instance.

The ID of the instance.

Indicates whether this is a Spot Instance or a Scheduled Instance.

The instance type.

The kernel associated with this instance, if applicable.

The name of the key pair, if this instance was launched with an associated key pair.

The time the instance was launched.

The monitoring for the instance.

[EC2-VPC] One or more network interfaces for the instance.

The location where the instance launched, if applicable.

The value is Windows for Windows instances; otherwise blank.

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

The private IPv4 address assigned to the instance.

The product codes attached to this instance, if applicable.

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

The public IPv4 address assigned to the instance, if applicable.

The RAM disk associated with this instance, if applicable.

The device name of the root device volume (for example, /dev/sda1).

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

One or more security groups for the instance.

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

If the request is a Spot Instance request, the ID of the request.

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

The current state of the instance.

The reason for the most recent state transition.

The reason for the most recent state transition. This might be an empty string.

[EC2-VPC] The ID of the subnet in which the instance is running.

Any tags assigned to the instance.

The virtualization type of the instance.

[EC2-VPC] The ID of the VPC in which the instance is running.

Trait Implementations

impl Clone for Instance
[src]

Performs copy-assignment from source. Read more

impl Default for Instance
[src]

impl PartialEq<Instance> for Instance
[src]

impl Debug for Instance
[src]

Auto Trait Implementations

impl Send for Instance

impl Sync for Instance

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]

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

🔬 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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self

impl<T> Erased for T