Skip to content

/AWS1/CL_EMRINSTGROUPMODIFYCFG

Modify the size or configurations of an instance group.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_instancegroupid TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

Unique ID of the instance group to modify.

Optional arguments:

iv_instancecount TYPE /AWS1/EMRINTEGER /AWS1/EMRINTEGER

Target size for the instance group.

it_ec2instanceidstoterminate TYPE /AWS1/CL_EMREC2INSTIDSTOTERM00=>TT_EC2INSTIDSTOTERMINATELIST TT_EC2INSTIDSTOTERMINATELIST

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

io_shrinkpolicy TYPE REF TO /AWS1/CL_EMRSHRINKPOLICY /AWS1/CL_EMRSHRINKPOLICY

Policy for customizing shrink operations.

iv_reconfigurationtype TYPE /AWS1/EMRRECONFIGURATIONTYPE /AWS1/EMRRECONFIGURATIONTYPE

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

it_configurations TYPE /AWS1/CL_EMRCONFIGURATION=>TT_CONFIGURATIONLIST TT_CONFIGURATIONLIST

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


Queryable Attributes

InstanceGroupId

Unique ID of the instance group to modify.

Accessible with the following methods

Method Description
GET_INSTANCEGROUPID() Getter for INSTANCEGROUPID, with configurable default
ASK_INSTANCEGROUPID() Getter for INSTANCEGROUPID w/ exceptions if field has no val
HAS_INSTANCEGROUPID() Determine if INSTANCEGROUPID has a value

InstanceCount

Target size for the instance group.

Accessible with the following methods

Method Description
GET_INSTANCECOUNT() Getter for INSTANCECOUNT, with configurable default
ASK_INSTANCECOUNT() Getter for INSTANCECOUNT w/ exceptions if field has no value
HAS_INSTANCECOUNT() Determine if INSTANCECOUNT has a value

EC2InstanceIdsToTerminate

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

Accessible with the following methods

Method Description
GET_EC2INSTIDSTOTERMINATE() Getter for EC2INSTANCEIDSTOTERMINATE, with configurable defa
ASK_EC2INSTIDSTOTERMINATE() Getter for EC2INSTANCEIDSTOTERMINATE w/ exceptions if field
HAS_EC2INSTIDSTOTERMINATE() Determine if EC2INSTANCEIDSTOTERMINATE has a value

ShrinkPolicy

Policy for customizing shrink operations.

Accessible with the following methods

Method Description
GET_SHRINKPOLICY() Getter for SHRINKPOLICY

ReconfigurationType

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

Accessible with the following methods

Method Description
GET_RECONFIGURATIONTYPE() Getter for RECONFIGURATIONTYPE, with configurable default
ASK_RECONFIGURATIONTYPE() Getter for RECONFIGURATIONTYPE w/ exceptions if field has no
HAS_RECONFIGURATIONTYPE() Determine if RECONFIGURATIONTYPE has a value

Configurations

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

Accessible with the following methods

Method Description
GET_CONFIGURATIONS() Getter for CONFIGURATIONS, with configurable default
ASK_CONFIGURATIONS() Getter for CONFIGURATIONS w/ exceptions if field has no valu
HAS_CONFIGURATIONS() Determine if CONFIGURATIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INSTGROUPMODIFYCONFIGLIST

TYPES TT_INSTGROUPMODIFYCONFIGLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EMRINSTGROUPMODIFYCFG WITH DEFAULT KEY
.