[][src]Struct rusoto_emr::InstanceGroupConfig

pub struct InstanceGroupConfig {
    pub auto_scaling_policy: Option<AutoScalingPolicy>,
    pub bid_price: Option<String>,
    pub configurations: Option<Vec<Configuration>>,
    pub ebs_configuration: Option<EbsConfiguration>,
    pub instance_count: i64,
    pub instance_role: String,
    pub instance_type: String,
    pub market: Option<String>,
    pub name: Option<String>,
}

Configuration defining a new instance group.

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).

EBS configurations that will be attached to each EC2 instance in the instance group.

Target number of instances for the instance group.

The role of the instance group in the cluster.

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

Market type of the EC2 instances used to create a cluster node.

Friendly name given to the instance group.

Trait Implementations

impl Default for InstanceGroupConfig
[src]

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InstanceGroupConfig
[src]

Formats the value using the given formatter. Read more

impl Serialize for InstanceGroupConfig
[src]

Serialize this value into the given Serde serializer. 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> Same for T

Should always be Self

impl<T> Erased for T