Class CfnEC2Fleet.PerformanceFactorReferenceRequestProperty
Specify an instance family to use as the baseline reference for CPU performance.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEC2Fleet.PerformanceFactorReferenceRequestProperty : CfnEC2Fleet.IPerformanceFactorReferenceRequestProperty
Syntax (vb)
Public Class CfnEC2Fleet.PerformanceFactorReferenceRequestProperty Implements CfnEC2Fleet.IPerformanceFactorReferenceRequestProperty
Remarks
All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture.
Currently, only one instance family can be specified in the list.
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 performanceFactorReferenceRequestProperty = new PerformanceFactorReferenceRequestProperty {
InstanceFamily = "instanceFamily"
};
Synopsis
Constructors
PerformanceFactorReferenceRequestProperty() | Specify an instance family to use as the baseline reference for CPU performance. |
Properties
InstanceFamily | The instance family to use as a baseline reference. |
Constructors
PerformanceFactorReferenceRequestProperty()
Specify an instance family to use as the baseline reference for CPU performance.
public PerformanceFactorReferenceRequestProperty()
Remarks
All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture.
Currently, only one instance family can be specified in the list.
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 performanceFactorReferenceRequestProperty = new PerformanceFactorReferenceRequestProperty {
InstanceFamily = "instanceFamily"
};
Properties
InstanceFamily
The instance family to use as a baseline reference.
public string? InstanceFamily { get; set; }
Property Value
Remarks
Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( <code>.</code> ) in the instance type name. For example, in the instance type <code>c6i.large</code> , the instance family is <code>c6i</code> , not <code>c6</code> . For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2 instance type naming conventions</a> in <em>Amazon EC2 Instance Types</em> .
The following instance families are not supported for performance protection:
If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.
If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .