Interface CfnClusterPropsMixin.PlacementGroupConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.PlacementGroupConfigProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.PlacementGroupConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.emr.*;
PlacementGroupConfigProperty placementGroupConfigProperty = PlacementGroupConfigProperty.builder()
.instanceRole("instanceRole")
.placementStrategy("placementStrategy")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsMixin.PlacementGroupConfigPropertystatic final classAn implementation forCfnClusterPropsMixin.PlacementGroupConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceRole
Role of the instance in the cluster.Starting with Amazon EMR release 5.23.0, the only supported instance role is
MASTER.- See Also:
-
getPlacementStrategy
Amazon EC2 Placement Group strategy associated with instance role.Starting with Amazon EMR release 5.23.0, the only supported placement strategy is
SPREADfor theMASTERinstance role.- See Also:
-
builder
-