Interface CfnSpotFleet.IPerformanceFactorReferenceRequestProperty
Specify an instance family to use as the baseline reference for CPU performance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPerformanceFactorReferenceRequestProperty
Syntax (vb)
Public Interface 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
Properties
Instance |
The instance family to use as a baseline reference. |
Properties
InstanceFamily
The instance family to use as a baseline reference.
virtual string InstanceFamily { get; }
Property Value
System.
Remarks
Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( .
) in the instance type name. For example, in the instance type c6i.large
, the instance family is c6i
, not c6
. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .
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 for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .