AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The CPU options for the instance. Both the core count and threads per core must be specified in the request.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.CpuOptionsRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class CpuOptionsRequest

The CpuOptionsRequest type exposes the following members

Constructors

NameDescription
Public Method CpuOptionsRequest()

Properties

NameTypeDescription
Public Property AmdSevSnp Amazon.EC2.AmdSevSnpSpecification

Gets and sets the property 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.

Public Property CoreCount System.Int32

Gets and sets the property CoreCount.

The number of CPU cores for the instance.

Public Property ThreadsPerCore System.Int32

Gets and sets the property ThreadsPerCore.

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5