Interface CfnLaunchTemplate.BaselinePerformanceFactorsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.BaselinePerformanceFactorsProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.BaselinePerformanceFactorsProperty
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.*;
BaselinePerformanceFactorsProperty baselinePerformanceFactorsProperty = BaselinePerformanceFactorsProperty.builder()
.cpu(CpuProperty.builder()
.references(List.of(ReferenceProperty.builder()
.instanceFamily("instanceFamily")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.BaselinePerformanceFactorsPropertystatic final classAn implementation forCfnLaunchTemplate.BaselinePerformanceFactorsProperty -
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
IResolvableorCfnLaunchTemplate.CpuProperty- See Also:
-
builder
-