Struct aws_sdk_emr::model::PlacementGroupConfig
source · [−]#[non_exhaustive]pub struct PlacementGroupConfig {
pub instance_role: Option<InstanceRoleType>,
pub placement_strategy: Option<PlacementGroupStrategy>,
}Expand description
Placement group configuration for an Amazon EMR cluster. The configuration specifies the placement strategy that can be applied to instance roles during cluster creation.
To use this configuration, consider attaching managed policy AmazonElasticMapReducePlacementGroupPolicy to the EMR role.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instance_role: Option<InstanceRoleType>Role of the instance in the cluster.
Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.
placement_strategy: Option<PlacementGroupStrategy>EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.
Implementations
Role of the instance in the cluster.
Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.
EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.
Creates a new builder-style object to manufacture PlacementGroupConfig
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PlacementGroupConfig
impl Send for PlacementGroupConfig
impl Sync for PlacementGroupConfig
impl Unpin for PlacementGroupConfig
impl UnwindSafe for PlacementGroupConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more