Struct aws_sdk_emr::types::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 Amazon 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 release 5.23.0, the only supported instance role is MASTER.
sourcepub fn placement_strategy(&self) -> Option<&PlacementGroupStrategy>
pub fn placement_strategy(&self) -> Option<&PlacementGroupStrategy>
Amazon EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.
source§impl PlacementGroupConfig
impl PlacementGroupConfig
sourcepub fn builder() -> PlacementGroupConfigBuilder
pub fn builder() -> PlacementGroupConfigBuilder
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 moresource§impl Debug for PlacementGroupConfig
impl Debug for PlacementGroupConfig
source§impl PartialEq<PlacementGroupConfig> for PlacementGroupConfig
impl PartialEq<PlacementGroupConfig> for PlacementGroupConfig
source§fn eq(&self, other: &PlacementGroupConfig) -> bool
fn eq(&self, other: &PlacementGroupConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PlacementGroupConfig
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more