AWS::EC2::Instance CpuOptions - AWS CloudFormation (original) (raw)

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

BlockDeviceMapping

CreditSpecification

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.