AWS::EC2::Instance CpuOptions - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon 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