AWSEC2CpuOptionsRequest

Objective-C

@interface AWSEC2CpuOptionsRequest

Swift

class AWSEC2CpuOptionsRequest

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

  • 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AmdSevSnpSpecification amdSevSnp;

    Swift

    var amdSevSnp: AWSEC2AmdSevSnpSpecification { get set }
  • The number of CPU cores for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable coreCount;

    Swift

    var coreCount: NSNumber? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable threadsPerCore;

    Swift

    var threadsPerCore: NSNumber? { get set }