Interface CfnInstance.CpuOptionsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInstance.CpuOptionsProperty.Jsii$Proxy
Enclosing class:
CfnInstance

@Stability(Stable) public static interface CfnInstance.CpuOptionsProperty extends software.amazon.jsii.JsiiSerializable
Specifies the CPU options for the instance.

When you specify CPU options, you must specify both the number of CPU cores and threads per core.

For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 CpuOptionsProperty cpuOptionsProperty = CpuOptionsProperty.builder()
         .coreCount(123)
         .threadsPerCore(123)
         .build();