Modifies the credit option for CPU usage on a running or stopped T2 or
T3 instance. The credit options are standard
and unlimited
.
ec2_modify_instance_credit_specification(DryRun, ClientToken,
InstanceCreditSpecifications)
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
.
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
[required] Information about the credit option for CPU usage.
svc$modify_instance_credit_specification( DryRun = TRUE|FALSE, ClientToken = "string", InstanceCreditSpecifications = list( list( InstanceId = "string", CpuCredits = "string" ) ) )
For more information, see Burstable Performance Instances in the Amazon Elastic Compute Cloud User Guide.