Interface CfnClusterPropsMixin.IPlacementGroupConfigProperty
Placement group configuration for an Amazon EMR cluster.
Namespace: Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnClusterPropsMixin.IPlacementGroupConfigProperty
Syntax (vb)
Public Interface CfnClusterPropsMixin.IPlacementGroupConfigProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins;
var placementGroupConfigProperty = new PlacementGroupConfigProperty {
InstanceRole = "instanceRole",
PlacementStrategy = "placementStrategy"
};
Synopsis
Properties
| InstanceRole | Role of the instance in the cluster. |
| PlacementStrategy | Amazon EC2 Placement Group strategy associated with instance role. |
Properties
InstanceRole
Role of the instance in the cluster.
string? InstanceRole { get; }
Property Value
Remarks
Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER .
PlacementStrategy
Amazon EC2 Placement Group strategy associated with instance role.
string? PlacementStrategy { get; }
Property Value
Remarks
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.