Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ECSServiceProjectedUtilizationMetric = ECSServiceProjectedUtilizationMetric' {}
- newECSServiceProjectedUtilizationMetric :: ECSServiceProjectedUtilizationMetric
- eCSServiceProjectedUtilizationMetric_lowerBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double)
- eCSServiceProjectedUtilizationMetric_name :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricName)
- eCSServiceProjectedUtilizationMetric_statistic :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricStatistic)
- eCSServiceProjectedUtilizationMetric_upperBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double)
Documentation
data ECSServiceProjectedUtilizationMetric Source #
Describes the projected utilization metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
See: newECSServiceProjectedUtilizationMetric
smart constructor.
ECSServiceProjectedUtilizationMetric' | |
|
Instances
newECSServiceProjectedUtilizationMetric :: ECSServiceProjectedUtilizationMetric Source #
Create a value of ECSServiceProjectedUtilizationMetric
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lowerBoundValue:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_lowerBoundValue
- The lower bound values for the projected utilization metrics.
$sel:name:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_name
- The name of the projected utilization metric.
The following utilization metrics are available:
CPU
— The percentage of allocated compute units that are currently in use on the ECS service tasks.Memory
— The percentage of memory that is currently in use on the ECS service tasks.
$sel:statistic:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_statistic
- The statistic of the projected utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
$sel:upperBoundValue:ECSServiceProjectedUtilizationMetric'
, eCSServiceProjectedUtilizationMetric_upperBoundValue
- The upper bound values for the projected utilization metrics.
eCSServiceProjectedUtilizationMetric_lowerBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double) Source #
The lower bound values for the projected utilization metrics.
eCSServiceProjectedUtilizationMetric_name :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricName) Source #
The name of the projected utilization metric.
The following utilization metrics are available:
CPU
— The percentage of allocated compute units that are currently in use on the ECS service tasks.Memory
— The percentage of memory that is currently in use on the ECS service tasks.
eCSServiceProjectedUtilizationMetric_statistic :: Lens' ECSServiceProjectedUtilizationMetric (Maybe ECSServiceMetricStatistic) Source #
The statistic of the projected utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return
utilization metrics using only the Maximum
statistic, which is the
highest value observed during the specified period.
The Compute Optimizer console displays graphs for some utilization
metrics using the Average
statistic, which is the value of Sum
/
SampleCount
during the specified period. For more information, see
Viewing resource recommendations
in the Compute Optimizer User Guide. You can also get averaged
utilization metric data for your resources using Amazon CloudWatch. For
more information, see the
Amazon CloudWatch User Guide.
eCSServiceProjectedUtilizationMetric_upperBoundValue :: Lens' ECSServiceProjectedUtilizationMetric (Maybe Double) Source #
The upper bound values for the projected utilization metrics.