Interface CfnEC2Fleet.BaselinePerformanceFactorsRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEC2Fleet.BaselinePerformanceFactorsRequestProperty.Jsii$Proxy
- Enclosing class:
CfnEC2Fleet
@Stability(Stable)
public static interface CfnEC2Fleet.BaselinePerformanceFactorsRequestProperty
extends software.amazon.jsii.JsiiSerializable
The baseline performance to consider, using an instance family as a baseline reference.
The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.
Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying c6i
would use the CPU performance of the c6i
family as the baseline reference.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; BaselinePerformanceFactorsRequestProperty baselinePerformanceFactorsRequestProperty = BaselinePerformanceFactorsRequestProperty.builder() .cpu(CpuPerformanceFactorRequestProperty.builder() .references(List.of(PerformanceFactorReferenceRequestProperty.builder() .instanceFamily("instanceFamily") .build())) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEC2Fleet.BaselinePerformanceFactorsRequestProperty
static final class
An implementation forCfnEC2Fleet.BaselinePerformanceFactorsRequestProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpu
The CPU performance to consider, using an instance family as the baseline reference.- See Also:
-
builder
-