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 CfnSpotFleet.IPerformanceFactorReferenceRequestProperty
Syntax (vb)
Public Interface CfnSpotFleet.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
InstanceFamily | The instance family to use as a baseline reference. |
Properties
InstanceFamily
The instance family to use as a baseline reference.
string? InstanceFamily { get; }
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 for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .