[][src]Struct rusoto_ec2::Placement

pub struct Placement {
    pub affinity: Option<String>,
    pub availability_zone: Option<String>,
    pub group_name: Option<String>,
    pub host_id: Option<String>,
    pub partition_number: Option<i64>,
    pub spread_domain: Option<String>,
    pub tenancy: Option<String>,
}

Describes the placement of an instance.

Fields

affinity: Option<String>

The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command.

availability_zone: Option<String>

The Availability Zone of the instance.

group_name: Option<String>

The name of the placement group the instance is in.

host_id: Option<String>

The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.

partition_number: Option<i64>

The number of the partition the instance is in. Valid only if the placement group strategy is set to partition.

spread_domain: Option<String>

Reserved for future use.

tenancy: Option<String>

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for the ImportInstance command.

Trait Implementations

impl PartialEq<Placement> for Placement[src]

impl Default for Placement[src]

impl Clone for Placement[src]

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

Performs copy-assignment from source. Read more

impl Debug for Placement[src]

Auto Trait Implementations

impl Send for Placement

impl Sync for Placement

Blanket Implementations

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> From for T[src]

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

type Error = Infallible

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

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