Show / Hide Table of Contents

Interface CfnInstance.ICpuOptionsProperty

Specifies the CPU options for the instance.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInstance.ICpuOptionsProperty
Syntax (vb)
Public Interface 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

Properties

CoreCount

The number of CPU cores for the instance.

ThreadsPerCore

The number of threads per CPU core.

Properties

CoreCount

The number of CPU cores for the instance.

double? CoreCount { get; }
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.

double? ThreadsPerCore { get; }
Property Value

double?

Remarks

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

Back to top Generated by DocFX