Interface CfnCluster.PlacementGroupConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.PlacementGroupConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.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.services.emr.*; PlacementGroupConfigProperty placementGroupConfigProperty = PlacementGroupConfigProperty.builder() .instanceRole("instanceRole") // the properties below are optional .placementStrategy("placementStrategy") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.PlacementGroupConfigProperty
static final class
An implementation forCfnCluster.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
SPREAD
for theMASTER
instance role.- See Also:
-
builder
-