paws.compute (version 0.1.0)

ec2_modify_instance_credit_specification: Modifies the credit option for CPU usage on a running or stopped T2 or T3 instance

Description

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

Usage

ec2_modify_instance_credit_specification(DryRun, ClientToken,
  InstanceCreditSpecifications)

Arguments

DryRun

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.

ClientToken

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

InstanceCreditSpecifications

[required] Information about the credit option for CPU usage.

Request syntax

svc$modify_instance_credit_specification(
  DryRun = TRUE|FALSE,
  ClientToken = "string",
  InstanceCreditSpecifications = list(
    list(
      InstanceId = "string",
      CpuCredits = "string"
    )
  )
)

Details

For more information, see Burstable Performance Instances in the Amazon Elastic Compute Cloud User Guide.