[][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

auto_scaling_policy: Option<AutoScalingPolicy>

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.

bid_price: Option<String>

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.

configurations: Option<Vec<Configuration>>

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_configuration: Option<EbsConfiguration>

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

instance_count: i64

Target number of instances for the instance group.

instance_role: String

The role of the instance group in the cluster.

instance_type: String

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

market: Option<String>

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

name: Option<String>

Friendly name given to the instance group.

Trait Implementations

impl PartialEq<InstanceGroupConfig> for InstanceGroupConfig[src]

impl Default for InstanceGroupConfig[src]

impl Clone for InstanceGroupConfig[src]

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

Performs copy-assignment from source. Read more

impl Debug for InstanceGroupConfig[src]

impl Serialize for InstanceGroupConfig[src]

Auto Trait Implementations

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