[][src]Struct rusoto_emr::InstanceGroup

pub struct InstanceGroup {
    pub auto_scaling_policy: Option<AutoScalingPolicyDescription>,
    pub bid_price: Option<String>,
    pub configurations: Option<Vec<Configuration>>,
    pub ebs_block_devices: Option<Vec<EbsBlockDevice>>,
    pub ebs_optimized: Option<bool>,
    pub id: Option<String>,
    pub instance_group_type: Option<String>,
    pub instance_type: Option<String>,
    pub market: Option<String>,
    pub name: Option<String>,
    pub requested_instance_count: Option<i64>,
    pub running_instance_count: Option<i64>,
    pub shrink_policy: Option<ShrinkPolicy>,
    pub status: Option<InstanceGroupStatus>,
}

This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.

Fields

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

The maximum Spot price your are willing to pay for EC2 instances.

An optional, nullable field that applies if the MarketType for the instance group is specified as SPOT. Specify the maximum spot price in USD. If the value is NULL and SPOT is specified, the maximum Spot price is set equal to the On-Demand price.

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

The EBS block devices that are mapped to this instance group.

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

The identifier of the instance group.

The type of the instance group. Valid values are MASTER, CORE or TASK.

The EC2 instance type for all instances in the instance group.

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

The name of the instance group.

The target number of instances for the instance group.

The number of instances currently running in this instance group.

Policy for customizing shrink operations.

The current status of the instance group.

Trait Implementations

impl Default for InstanceGroup
[src]

Returns the "default value" for a type. Read more

impl PartialEq<InstanceGroup> for InstanceGroup
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for InstanceGroup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InstanceGroup
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for InstanceGroup
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

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

Performs the conversion.

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

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T> From for T
[src]

Performs the conversion.

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.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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.

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

Performs the conversion.

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

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T