Skip to content

/AWS1/CL_EC2=>MODIFYINSTANCECREDITSPEC()

About ModifyInstanceCreditSpecification

Modifies the credit option for CPU usage on a running or stopped burstable performance instance. The credit options are standard and unlimited.

For more information, see Burstable performance instances in the Amazon EC2 User Guide.

Method Signature

IMPORTING

Required arguments:

IT_INSTANCECREDITSPECS TYPE /AWS1/CL_EC2INSTCREDITSPECREQ=>TT_INSTCREDITSPECLISTREQUEST TT_INSTCREDITSPECLISTREQUEST

Information about the credit option for CPU usage.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2MODINSTCREDITSPE01 /AWS1/CL_EC2MODINSTCREDITSPE01