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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInstance.CpuOptionsProperty
static final class
An implementation forCfnInstance.CpuOptionsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCoreCount
The number of CPU cores for the instance. -
getThreadsPerCore
The number of threads per CPU core. -
builder
-