InstanceGroupModifyConfig - Amazon EMR
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

InstanceGroupModifyConfig

Modify the size or configurations of an instance group.

Contents

InstanceGroupId

Unique ID of the instance group to modify.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: Yes

Configurations

A list of new or modified configurations to apply for an instance group.

Type: Array of Configuration objects

Required: No

EC2InstanceIdsToTerminate

The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

Type: Array of strings

Required: No

InstanceCount

Target size for the instance group.

Type: Integer

Required: No

ReconfigurationType

Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

Type: String

Valid Values: OVERWRITE | MERGE

Required: No

ShrinkPolicy

Policy for customizing shrink operations.

Type: ShrinkPolicy object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: