ec2_modify_instance_cpu_options: By default, all vCPUs for the instance type are active when...

View source: R/ec2_operations.R

ec2_modify_instance_cpu_optionsR Documentation

By default, all vCPUs for the instance type are active when you launch an instance

Description

By default, all vCPUs for the instance type are active when you launch an instance. When you configure the number of active vCPUs for the instance, it can help you save on licensing costs and optimize performance. The base cost of the instance remains unchanged.

See https://www.paws-r-sdk.com/docs/ec2_modify_instance_cpu_options/ for full documentation.

Usage

ec2_modify_instance_cpu_options(
  InstanceId,
  CoreCount,
  ThreadsPerCore,
  DryRun = NULL
)

Arguments

InstanceId

[required] The ID of the instance to update.

CoreCount

[required] The number of CPU cores to activate for the specified instance.

ThreadsPerCore

[required] The number of threads to run for each CPU core.

DryRun

Checks whether you have the required permissions for the operation, 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.


paws.compute documentation built on April 4, 2025, 5:47 a.m.