Learn R Programming

paws.compute (version 0.1.12)

ec2_get_default_credit_specification: Describes the default credit option for CPU usage of a burstable performance instance family

Description

Describes the default credit option for CPU usage of a burstable performance instance family.

For more information, see Burstable performance instances in the Amazon Elastic Compute Cloud User Guide.

Usage

ec2_get_default_credit_specification(DryRun, InstanceFamily)

Value

A list with the following syntax:

list(
  InstanceFamilyCreditSpecification = list(
    InstanceFamily = "t2"|"t3"|"t3a"|"t4g",
    CpuCredits = "string"
  )
)

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.

InstanceFamily

[required] The instance family.

Request syntax

svc$get_default_credit_specification(
  DryRun = TRUE|FALSE,
  InstanceFamily = "t2"|"t3"|"t3a"|"t4g"
)