amazonka-compute-optimizer-2.0: Amazon Compute Optimizer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

Description

 
Synopsis

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.

Constructors

ECSServiceProjectedUtilizationMetric' 

Fields

  • lowerBoundValue :: Maybe Double

    The lower bound values for the projected utilization metrics.

  • name :: Maybe ECSServiceMetricName

    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.
  • statistic :: Maybe ECSServiceMetricStatistic

    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.

  • upperBoundValue :: Maybe Double

    The upper bound values for the projected utilization metrics.

Instances

Instances details
FromJSON ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

Generic ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

Read ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

Show ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

NFData ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

Eq ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

Hashable ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

type Rep ECSServiceProjectedUtilizationMetric Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric

type Rep ECSServiceProjectedUtilizationMetric = D1 ('MetaData "ECSServiceProjectedUtilizationMetric" "Amazonka.ComputeOptimizer.Types.ECSServiceProjectedUtilizationMetric" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "ECSServiceProjectedUtilizationMetric'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lowerBoundValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ECSServiceMetricName))) :*: (S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ECSServiceMetricStatistic)) :*: S1 ('MetaSel ('Just "upperBoundValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

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_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.