This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::EC2::LaunchTemplate CpuOptions
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.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "AmdSevSnp" :String, "CoreCount" :Integer, "NestedVirtualization" :String, "ThreadsPerCore" :Integer}
YAML
AmdSevSnp:StringCoreCount:IntegerNestedVirtualization:StringThreadsPerCore:Integer
Properties
AmdSevSnp-
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.
Required: No
Type: String
Allowed values:
enabled | disabledUpdate requires: No interruption
CoreCount-
The number of CPU cores for the instance.
Required: No
Type: Integer
Update requires: No interruption
NestedVirtualization-
Indicates whether the instance is enabled for nested virtualization.
Required: No
Type: String
Allowed values:
enabled | disabledUpdate requires: No interruption
ThreadsPerCore-
The number of threads per CPU core. To disable multithreading for the instance, specify a value of
1. Otherwise, specify the default value of2.Required: No
Type: Integer
Update requires: No interruption
See also
-
Optimize CPU options in the Amazon EC2 User Guide.
Warning Javascript is disabled or is unavailable in your browser.
To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.