PlacementGroupConfig class
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.
Constructors
- PlacementGroupConfig({required InstanceRoleType instanceRole, PlacementGroupStrategy? placementStrategy})
-
PlacementGroupConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceRole → InstanceRoleType
-
Role of the instance in the cluster.
final
- placementStrategy → PlacementGroupStrategy?
-
EC2 Placement Group strategy associated with instance role.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited