AWS::EC2::Instance CpuOptions - AWS CloudFormation

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