AWS::EC2::Instance CpuOptions - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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::Instance CpuOptions

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.

Modifying the CPU options for an instance results in instance replacement.

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "CoreCount" : Integer, "ThreadsPerCore" : Integer }

YAML

CoreCount: Integer ThreadsPerCore: Integer

Properties

CoreCount

The number of CPU cores for the instance.

Required: No

Type: Integer

Update requires: Replacement

ThreadsPerCore

The number of threads per CPU core.

Required: No

Type: Integer

Update requires: Replacement