Show / Hide Table of Contents

Class CfnInstance.CpuOptionsProperty

Specifies the CPU options for the instance.

Inheritance
object
CfnInstance.CpuOptionsProperty
Implements
CfnInstance.ICpuOptionsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstance.CpuOptionsProperty : CfnInstance.ICpuOptionsProperty
Syntax (vb)
Public Class CfnInstance.CpuOptionsProperty Implements CfnInstance.ICpuOptionsProperty
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-cpuoptions.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EC2;

             var cpuOptionsProperty = new CpuOptionsProperty {
                 CoreCount = 123,
                 ThreadsPerCore = 123
             };

Synopsis

Constructors

CpuOptionsProperty()

Specifies the CPU options for the instance.

Properties

CoreCount

The number of CPU cores for the instance.

ThreadsPerCore

The number of threads per CPU core.

Constructors

CpuOptionsProperty()

Specifies the CPU options for the instance.

public CpuOptionsProperty()
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-cpuoptions.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EC2;

             var cpuOptionsProperty = new CpuOptionsProperty {
                 CoreCount = 123,
                 ThreadsPerCore = 123
             };

Properties

CoreCount

The number of CPU cores for the instance.

public double? CoreCount { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-cpuoptions.html#cfn-ec2-instance-cpuoptions-corecount

ThreadsPerCore

The number of threads per CPU core.

public double? ThreadsPerCore { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-cpuoptions.html#cfn-ec2-instance-cpuoptions-threadspercore

Implements

CfnInstance.ICpuOptionsProperty
Back to top Generated by DocFX