Struct aws_sdk_emr::model::PlacementGroupConfig
source · #[non_exhaustive]pub struct PlacementGroupConfig { /* private fields */ }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.
Implementations§
source§impl PlacementGroupConfig
impl PlacementGroupConfig
sourcepub fn instance_role(&self) -> Option<&InstanceRoleType>
pub fn instance_role(&self) -> Option<&InstanceRoleType>
Role of the instance in the cluster.
Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.
sourcepub fn placement_strategy(&self) -> Option<&PlacementGroupStrategy>
pub fn placement_strategy(&self) -> 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.
source§impl PlacementGroupConfig
impl PlacementGroupConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PlacementGroupConfig.
Trait Implementations§
source§impl Clone for PlacementGroupConfig
impl Clone for PlacementGroupConfig
source§fn clone(&self) -> PlacementGroupConfig
fn clone(&self) -> PlacementGroupConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more