By default, all vCPUs for the instance type are active when you launch an instance
Source:R/ec2_operations.R
ec2_modify_instance_cpu_options.RdBy 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 = NULL,
ThreadsPerCore = NULL,
NestedVirtualization = NULL,
DryRun = NULL
)Arguments
- InstanceId
[required] The ID of the instance to update.
- CoreCount
The number of CPU cores to activate for the specified instance.
- ThreadsPerCore
The number of threads to run for each CPU core.
- NestedVirtualization
Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.
- 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 isUnauthorizedOperation.