Interface CfnAutoScalingGroupPropsMixin.BaselinePerformanceFactorsRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutoScalingGroupPropsMixin.BaselinePerformanceFactorsRequestProperty.Jsii$Proxy
- Enclosing class:
CfnAutoScalingGroupPropsMixin
@Stability(Stable)
public static interface CfnAutoScalingGroupPropsMixin.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. Auto Scaling 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 uses 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.cfnpropertymixins.services.autoscaling.*;
BaselinePerformanceFactorsRequestProperty baselinePerformanceFactorsRequestProperty = BaselinePerformanceFactorsRequestProperty.builder()
.cpu(CpuPerformanceFactorRequestProperty.builder()
.references(List.of(PerformanceFactorReferenceRequestProperty.builder()
.instanceFamily("instanceFamily")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAutoScalingGroupPropsMixin.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.Returns union: either
IResolvableorCfnAutoScalingGroupPropsMixin.CpuPerformanceFactorRequestProperty- See Also:
-
builder
@Stability(Stable) static CfnAutoScalingGroupPropsMixin.BaselinePerformanceFactorsRequestProperty.Builder builder()
-