Skip to content

Get Default Credit Specification

ec2_get_default_credit_specification R Documentation

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 EC2 User Guide.

Usage

ec2_get_default_credit_specification(DryRun, InstanceFamily)

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.

Value

A list with the following syntax:

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

Request syntax

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