Interface CfnLaunchTemplate.CpuOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.CpuOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.CpuOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the CPU options for an instance.
For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide .
CpuOptions is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
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()
.amdSevSnp("amdSevSnp")
.coreCount(123)
.threadsPerCore(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.CpuOptionsPropertystatic final classAn implementation forCfnLaunchTemplate.CpuOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmdSevSnp
Indicates whether to enable the instance for AMD SEV-SNP.AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances .
- See Also:
-
getCoreCount
The number of CPU cores for the instance.- See Also:
-
getThreadsPerCore
The number of threads per CPU core.To disable multithreading for the instance, specify a value of
1. Otherwise, specify the default value of2.- See Also:
-
builder
-